Alchemy
Loading...
Searching...
No Matches

fixed_point_position.h File Reference

FixedPointPosition, a position in 16.16 fixed point. More...

Go to the source code of this file.

Data Structures

struct  FixedPointPosition
 A position in three coordinates, each in 16.16 fixed point. More...

Functions

 STATIC_ASSERT (sizeof(struct FixedPointPosition)==0x0c)
 STATIC_ASSERT (offsetof(struct FixedPointPosition, x)==0x00)
 STATIC_ASSERT (offsetof(struct FixedPointPosition, y)==0x04)
 STATIC_ASSERT (offsetof(struct FixedPointPosition, z)==0x08)

Detailed Description

FixedPointPosition, a position in 16.16 fixed point.

Definition in file fixed_point_position.h.

Function Documentation

◆ STATIC_ASSERT() [1/4]

STATIC_ASSERT ( sizeof(struct FixedPointPosition) = =0x0c)

◆ STATIC_ASSERT() [2/4]

STATIC_ASSERT ( offsetof(struct FixedPointPosition, x) = =0x00)

◆ STATIC_ASSERT() [3/4]

STATIC_ASSERT ( offsetof(struct FixedPointPosition, y) = =0x04)

◆ STATIC_ASSERT() [4/4]

STATIC_ASSERT ( offsetof(struct FixedPointPosition, z) = =0x08)