MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / fixedToFloat

Function fixedToFloat

Engine/source/terrain/terrFile.h:264–267  ·  view source on GitHub ↗

Conversion from 11.5 fixed point to floating point.

Source from the content-addressed store, hash-verified

262
263/// Conversion from 11.5 fixed point to floating point.
264inline F32 fixedToFloat( U16 val )
265{
266 return F32(val) * 0.03125f;
267}
268
269/// Conversion from floating point to 11.5 fixed point.
270inline U16 floatToFixed( F32 val )

Callers 14

_updateVertexBufferMethod · 0.85
_updateBoundsMethod · 0.85
buildConvexMethod · 0.85
buildPolyListMethod · 0.85
castRayBlockMethod · 0.85
exportHeightMapMethod · 0.85
getHeightMethod · 0.85
getNormalMethod · 0.85
getSmoothNormalMethod · 0.85
getNormalAndHeightMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected