This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
new:units [2018/02/16 22:03] – korshun | new:units [2018/02/17 03:53] – korshun | ||
---|---|---|---|
Line 3: | Line 3: | ||
ACSUtils provides a range of functions to convert various commonly used units. **All** unit conversion function operate **only** on fixed-point numbers, even if ZDoom only uses integers for some of these units. | ACSUtils provides a range of functions to convert various commonly used units. **All** unit conversion function operate **only** on fixed-point numbers, even if ZDoom only uses integers for some of these units. | ||
- | Using the same units everywhere in your mod is good practice that reduces potential errors. ACSUtils uses the same units in all its functions. When calling ZDoom functions that don't use your preferred units, use these unit conversion functions to convert them in place. | + | Using the same units everywhere in your mod is a good practice that reduces potential |
===== Angle units ===== | ===== Angle units ===== |