Alchemy
Loading...
Searching...
No Matches

vector3.h File Reference

Vector3, a three-coordinate vector. More...

Go to the source code of this file.

Data Structures

struct  Vector3
 Three coordinates, x, y and z: a position, a velocity or a direction. More...

Functions

static const s32 * Vector3_Coordinates (const struct Vector3 *vector)
 Returns the vector's three coordinates as an array.
 STATIC_ASSERT (sizeof(struct Vector3)==0x0c)
 STATIC_ASSERT (offsetof(struct Vector3, x)==0x00)
 STATIC_ASSERT (offsetof(struct Vector3, y)==0x04)
 STATIC_ASSERT (offsetof(struct Vector3, z)==0x08)

Detailed Description

Vector3, a three-coordinate vector.

Definition in file vector3.h.

Function Documentation

◆ Vector3_Coordinates()

const s32 * Vector3_Coordinates ( const struct Vector3 * vector)
inlinestatic

Returns the vector's three coordinates as an array.

Definition at line 31 of file vector3.h.

Referenced by BattleFx_RunAstralBlast(), BattleFx_RunBind(), BattleFx_RunProcne(), BattleFx_RunTriangleStrike(), TolbiSpring_UpdateTossSimulation(), and Vector3_Coordinates().

◆ STATIC_ASSERT() [1/4]

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

◆ STATIC_ASSERT() [2/4]

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

◆ STATIC_ASSERT() [3/4]

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

◆ STATIC_ASSERT() [4/4]

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