Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
units.h
Go to the documentation of this file.
1
25#ifdef FLECS_UNITS
26
35#ifndef FLECS_MODULE
36#define FLECS_MODULE
37#endif
38
39#ifndef FLECS_META
40#define FLECS_META
41#endif
42
43#ifndef FLECS_UNITS_H
44#define FLECS_UNITS_H
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
58FLECS_API extern ecs_entity_t EcsUnitPrefixes;
60FLECS_API extern ecs_entity_t EcsYocto;
61FLECS_API extern ecs_entity_t EcsZepto;
62FLECS_API extern ecs_entity_t EcsAtto;
63FLECS_API extern ecs_entity_t EcsFemto;
64FLECS_API extern ecs_entity_t EcsPico;
65FLECS_API extern ecs_entity_t EcsNano;
66FLECS_API extern ecs_entity_t EcsMicro;
67FLECS_API extern ecs_entity_t EcsMilli;
68FLECS_API extern ecs_entity_t EcsCenti;
69FLECS_API extern ecs_entity_t EcsDeci;
70FLECS_API extern ecs_entity_t EcsDeca;
71FLECS_API extern ecs_entity_t EcsHecto;
72FLECS_API extern ecs_entity_t EcsKilo;
73FLECS_API extern ecs_entity_t EcsMega;
74FLECS_API extern ecs_entity_t EcsGiga;
75FLECS_API extern ecs_entity_t EcsTera;
76FLECS_API extern ecs_entity_t EcsPeta;
77FLECS_API extern ecs_entity_t EcsExa;
78FLECS_API extern ecs_entity_t EcsZetta;
79FLECS_API extern ecs_entity_t EcsYotta;
81FLECS_API extern ecs_entity_t EcsKibi;
82FLECS_API extern ecs_entity_t EcsMebi;
83FLECS_API extern ecs_entity_t EcsGibi;
84FLECS_API extern ecs_entity_t EcsTebi;
85FLECS_API extern ecs_entity_t EcsPebi;
86FLECS_API extern ecs_entity_t EcsExbi;
87FLECS_API extern ecs_entity_t EcsZebi;
88FLECS_API extern ecs_entity_t EcsYobi;
98FLECS_API extern ecs_entity_t EcsDuration;
99FLECS_API extern ecs_entity_t EcsPicoSeconds;
100FLECS_API extern ecs_entity_t EcsNanoSeconds;
101FLECS_API extern ecs_entity_t EcsMicroSeconds;
102FLECS_API extern ecs_entity_t EcsMilliSeconds;
103FLECS_API extern ecs_entity_t EcsSeconds;
104FLECS_API extern ecs_entity_t EcsMinutes;
105FLECS_API extern ecs_entity_t EcsHours;
106FLECS_API extern ecs_entity_t EcsDays;
116FLECS_API extern ecs_entity_t EcsTime;
117FLECS_API extern ecs_entity_t EcsDate;
127FLECS_API extern ecs_entity_t EcsMass;
128FLECS_API extern ecs_entity_t EcsGrams;
129FLECS_API extern ecs_entity_t EcsKiloGrams;
139FLECS_API extern ecs_entity_t EcsElectricCurrent;
140FLECS_API extern ecs_entity_t EcsAmpere;
150FLECS_API extern ecs_entity_t EcsAmount;
151FLECS_API extern ecs_entity_t EcsMole;
161FLECS_API extern ecs_entity_t EcsLuminousIntensity;
162FLECS_API extern ecs_entity_t EcsCandela;
172FLECS_API extern ecs_entity_t EcsForce;
173FLECS_API extern ecs_entity_t EcsNewton;
183FLECS_API extern ecs_entity_t EcsLength;
184FLECS_API extern ecs_entity_t EcsMeters;
185FLECS_API extern ecs_entity_t EcsPicoMeters;
186FLECS_API extern ecs_entity_t EcsNanoMeters;
187FLECS_API extern ecs_entity_t EcsMicroMeters;
188FLECS_API extern ecs_entity_t EcsMilliMeters;
189FLECS_API extern ecs_entity_t EcsCentiMeters;
190FLECS_API extern ecs_entity_t EcsKiloMeters;
191FLECS_API extern ecs_entity_t EcsMiles;
192FLECS_API extern ecs_entity_t EcsPixels;
202FLECS_API extern ecs_entity_t EcsPressure;
203FLECS_API extern ecs_entity_t EcsPascal;
204FLECS_API extern ecs_entity_t EcsBar;
214FLECS_API extern ecs_entity_t EcsSpeed;
215FLECS_API extern ecs_entity_t EcsMetersPerSecond;
216FLECS_API extern ecs_entity_t EcsKiloMetersPerSecond;
217FLECS_API extern ecs_entity_t EcsKiloMetersPerHour;
218FLECS_API extern ecs_entity_t EcsMilesPerHour;
228FLECS_API extern ecs_entity_t EcsTemperature;
229FLECS_API extern ecs_entity_t EcsKelvin;
230FLECS_API extern ecs_entity_t EcsCelsius;
231FLECS_API extern ecs_entity_t EcsFahrenheit;
241FLECS_API extern ecs_entity_t EcsData;
242FLECS_API extern ecs_entity_t EcsBits;
243FLECS_API extern ecs_entity_t EcsKiloBits;
244FLECS_API extern ecs_entity_t EcsMegaBits;
245FLECS_API extern ecs_entity_t EcsGigaBits;
246FLECS_API extern ecs_entity_t EcsBytes;
247FLECS_API extern ecs_entity_t EcsKiloBytes;
248FLECS_API extern ecs_entity_t EcsMegaBytes;
249FLECS_API extern ecs_entity_t EcsGigaBytes;
250FLECS_API extern ecs_entity_t EcsKibiBytes;
251FLECS_API extern ecs_entity_t EcsMebiBytes;
252FLECS_API extern ecs_entity_t EcsGibiBytes;
262FLECS_API extern ecs_entity_t EcsDataRate;
263FLECS_API extern ecs_entity_t EcsBitsPerSecond;
264FLECS_API extern ecs_entity_t EcsKiloBitsPerSecond;
265FLECS_API extern ecs_entity_t EcsMegaBitsPerSecond;
266FLECS_API extern ecs_entity_t EcsGigaBitsPerSecond;
267FLECS_API extern ecs_entity_t EcsBytesPerSecond;
268FLECS_API extern ecs_entity_t EcsKiloBytesPerSecond;
269FLECS_API extern ecs_entity_t EcsMegaBytesPerSecond;
270FLECS_API extern ecs_entity_t EcsGigaBytesPerSecond;
280FLECS_API extern ecs_entity_t EcsAngle;
281FLECS_API extern ecs_entity_t EcsRadians;
282FLECS_API extern ecs_entity_t EcsDegrees;
292FLECS_API extern ecs_entity_t EcsFrequency;
293FLECS_API extern ecs_entity_t EcsHertz;
294FLECS_API extern ecs_entity_t EcsKiloHertz;
295FLECS_API extern ecs_entity_t EcsMegaHertz;
296FLECS_API extern ecs_entity_t EcsGigaHertz;
306FLECS_API extern ecs_entity_t EcsUri;
307FLECS_API extern ecs_entity_t EcsUriHyperlink;
308FLECS_API extern ecs_entity_t EcsUriImage;
309FLECS_API extern ecs_entity_t EcsUriFile;
319FLECS_API extern ecs_entity_t EcsColor;
320FLECS_API extern ecs_entity_t EcsColorRgb;
321FLECS_API extern ecs_entity_t EcsColorHsl;
322FLECS_API extern ecs_entity_t EcsColorCss;
327FLECS_API extern ecs_entity_t EcsAcceleration;
328FLECS_API extern ecs_entity_t EcsPercentage;
329FLECS_API extern ecs_entity_t EcsBel;
330FLECS_API extern ecs_entity_t EcsDeciBel;
335
344FLECS_API
346 ecs_world_t *world);
347
348#ifdef __cplusplus
349}
350#endif
351
352#endif
353
356#endif
FLECS_API ecs_entity_t EcsMole
Mole unit.
FLECS_API ecs_entity_t EcsAmount
Amount quantity.
FLECS_API ecs_entity_t EcsHertz
Hertz unit.
FLECS_API ecs_entity_t EcsKiloHertz
KiloHertz unit.
FLECS_API ecs_entity_t EcsFrequency
Frequency quantity.
FLECS_API ecs_entity_t EcsMegaHertz
MegaHertz unit.
FLECS_API ecs_entity_t EcsGigaHertz
GigaHertz unit.
FLECS_API ecs_entity_t EcsColorHsl
ColorHsl unit.
FLECS_API ecs_entity_t EcsColorRgb
ColorRgb unit.
FLECS_API ecs_entity_t EcsColorCss
ColorCss unit.
FLECS_API ecs_entity_t EcsColor
Color quantity.
FLECS_API ecs_entity_t EcsGigaBits
GigaBits unit.
FLECS_API ecs_entity_t EcsBits
Bits unit.
FLECS_API ecs_entity_t EcsKibiBytes
KibiBytes unit.
FLECS_API ecs_entity_t EcsKiloBits
KiloBits unit.
FLECS_API ecs_entity_t EcsBytes
Bytes unit.
FLECS_API ecs_entity_t EcsMegaBytes
MegaBytes unit.
FLECS_API ecs_entity_t EcsGigaBytes
GigaBytes unit.
FLECS_API ecs_entity_t EcsKiloBytes
KiloBytes unit.
FLECS_API ecs_entity_t EcsMegaBits
MegaBits unit.
FLECS_API ecs_entity_t EcsMebiBytes
MebiBytes unit.
FLECS_API ecs_entity_t EcsData
Data quantity.
FLECS_API ecs_entity_t EcsGibiBytes
GibiBytes unit.
FLECS_API ecs_entity_t EcsGigaBitsPerSecond
GigaBitsPerSecond unit.
FLECS_API ecs_entity_t EcsMegaBitsPerSecond
MegaBitsPerSecond unit.
FLECS_API ecs_entity_t EcsBytesPerSecond
BytesPerSecond unit.
FLECS_API ecs_entity_t EcsBitsPerSecond
BitsPerSecond unit.
FLECS_API ecs_entity_t EcsKiloBytesPerSecond
KiloBytesPerSecond unit.
FLECS_API ecs_entity_t EcsKiloBitsPerSecond
KiloBitsPerSecond unit.
FLECS_API ecs_entity_t EcsMegaBytesPerSecond
MegaBytesPerSecond unit.
FLECS_API ecs_entity_t EcsDataRate
DataRate quantity.
FLECS_API ecs_entity_t EcsGigaBytesPerSecond
GigaBytesPerSecond unit.
FLECS_API ecs_entity_t EcsNanoSeconds
NanoSeconds duration unit.
FLECS_API ecs_entity_t EcsAngle
Angle quantity.
FLECS_API ecs_entity_t EcsHours
Hours duration unit.
FLECS_API ecs_entity_t EcsMilliSeconds
MilliSeconds duration unit.
FLECS_API ecs_entity_t EcsDegrees
Degrees unit.
FLECS_API ecs_entity_t EcsDays
Days duration unit.
FLECS_API ecs_entity_t EcsMinutes
Minutes duration unit.
FLECS_API ecs_entity_t EcsRadians
Radians unit.
FLECS_API ecs_entity_t EcsSeconds
Seconds duration unit.
FLECS_API ecs_entity_t EcsDuration
Duration quantity.
FLECS_API ecs_entity_t EcsMicroSeconds
MicroSeconds duration unit.
FLECS_API ecs_entity_t EcsPicoSeconds
PicoSeconds duration unit.
FLECS_API ecs_entity_t EcsElectricCurrent
ElectricCurrent quantity.
FLECS_API ecs_entity_t EcsAmpere
Ampere unit.
FLECS_API ecs_entity_t EcsForce
Force quantity.
FLECS_API ecs_entity_t EcsNewton
Newton unit.
FLECS_API ecs_entity_t EcsKiloMeters
KiloMeters unit.
FLECS_API ecs_entity_t EcsPicoMeters
PicoMeters unit.
FLECS_API ecs_entity_t EcsNanoMeters
NanoMeters unit.
FLECS_API ecs_entity_t EcsMiles
Miles unit.
FLECS_API ecs_entity_t EcsCentiMeters
CentiMeters unit.
FLECS_API ecs_entity_t EcsMicroMeters
MicroMeters unit.
FLECS_API ecs_entity_t EcsMilliMeters
MilliMeters unit.
FLECS_API ecs_entity_t EcsLength
Length quantity.
FLECS_API ecs_entity_t EcsPixels
Pixels unit.
FLECS_API ecs_entity_t EcsMeters
Meters unit.
FLECS_API ecs_entity_t EcsLuminousIntensity
LuminousIntensity quantity.
FLECS_API ecs_entity_t EcsCandela
Candela unit.
FLECS_API ecs_entity_t EcsMass
Mass quantity.
FLECS_API ecs_entity_t EcsGrams
Grams unit.
FLECS_API ecs_entity_t EcsKiloGrams
KiloGrams unit.
FLECS_API ecs_entity_t EcsMebi
Mebi unit prefix.
FLECS_API ecs_entity_t EcsDeca
Deca unit prefix.
FLECS_API ecs_entity_t EcsHecto
Hecto unit prefix.
FLECS_API ecs_entity_t EcsZetta
Zetta unit prefix.
FLECS_API ecs_entity_t EcsMicro
Micro unit prefix.
FLECS_API ecs_entity_t EcsYocto
Yocto unit prefix.
FLECS_API ecs_entity_t EcsKilo
Kilo unit prefix.
FLECS_API ecs_entity_t EcsYobi
Yobi unit prefix.
FLECS_API ecs_entity_t EcsAtto
Atto unit prefix.
FLECS_API ecs_entity_t EcsYotta
Yotta unit prefix.
FLECS_API ecs_entity_t EcsExa
Exa unit prefix.
FLECS_API ecs_entity_t EcsPico
Pico unit prefix.
FLECS_API ecs_entity_t EcsCenti
Centi unit prefix.
FLECS_API ecs_entity_t EcsKibi
Kibi unit prefix.
FLECS_API ecs_entity_t EcsGibi
Gibi unit prefix.
FLECS_API ecs_entity_t EcsTera
Tera unit prefix.
FLECS_API ecs_entity_t EcsNano
Nano unit prefix.
FLECS_API ecs_entity_t EcsExbi
Exbi unit prefix.
FLECS_API ecs_entity_t EcsUnitPrefixes
Parent scope for prefixes.
FLECS_API ecs_entity_t EcsMilli
Milli unit prefix.
FLECS_API ecs_entity_t EcsTebi
Tebi unit prefix.
FLECS_API ecs_entity_t EcsPebi
Pebi unit prefix.
FLECS_API ecs_entity_t EcsPeta
Peta unit prefix.
FLECS_API ecs_entity_t EcsDeci
Deci unit prefix.
FLECS_API ecs_entity_t EcsMega
Mega unit prefix.
FLECS_API ecs_entity_t EcsZepto
Zepto unit prefix.
FLECS_API ecs_entity_t EcsZebi
Zebi unit prefix.
FLECS_API ecs_entity_t EcsGiga
Giga unit prefix.
FLECS_API ecs_entity_t EcsFemto
Femto unit prefix.
FLECS_API ecs_entity_t EcsPascal
Pascal unit.
FLECS_API ecs_entity_t EcsBar
Bar unit.
FLECS_API ecs_entity_t EcsPressure
Pressure quantity.
FLECS_API ecs_entity_t EcsSpeed
Speed quantity.
FLECS_API ecs_entity_t EcsMilesPerHour
MilesPerHour unit.
FLECS_API ecs_entity_t EcsKiloMetersPerSecond
KiloMetersPerSecond unit.
FLECS_API ecs_entity_t EcsMetersPerSecond
MetersPerSecond unit.
FLECS_API ecs_entity_t EcsKiloMetersPerHour
KiloMetersPerHour unit.
FLECS_API ecs_entity_t EcsTemperature
Temperature quantity.
FLECS_API ecs_entity_t EcsFahrenheit
Fahrenheit unit.
FLECS_API ecs_entity_t EcsCelsius
Celsius unit.
FLECS_API ecs_entity_t EcsKelvin
Kelvin unit.
FLECS_API ecs_entity_t EcsDate
Date unit.
FLECS_API ecs_entity_t EcsTime
Time quantity.
FLECS_API ecs_entity_t EcsUri
URI quantity.
FLECS_API ecs_entity_t EcsUriHyperlink
UriHyperlink unit.
FLECS_API ecs_entity_t EcsUriFile
UriFile unit.
FLECS_API ecs_entity_t EcsUriImage
UriImage unit.
FLECS_API void FlecsUnitsImport(ecs_world_t *world)
Units module import function.
FLECS_API ecs_entity_t EcsPercentage
Percentage unit.
FLECS_API ecs_entity_t EcsDeciBel
DeciBel unit.
FLECS_API ecs_entity_t EcsAcceleration
Acceleration unit.
FLECS_API ecs_entity_t EcsBel
Bel unit.
ecs_id_t ecs_entity_t
An entity identifier.
Definition flecs.h:347
struct ecs_world_t ecs_world_t
A world is the container for all ECS data and supporting features.
Definition flecs.h:391