Conversion from floating point to 11.5 fixed point.
| 268 | |
| 269 | /// Conversion from floating point to 11.5 fixed point. |
| 270 | inline U16 floatToFixed( F32 val ) |
| 271 | { |
| 272 | return U16(val * 32.0 + 0.5f); |
| 273 | } |
| 274 | |
| 275 | inline bool TerrainFile::isPointInTerrain( U32 x, U32 y ) const |
| 276 | { |
no outgoing calls
no test coverage detected