Alchemy
Loading...
Searching...
No Matches

object_distance.h File Reference

Go to the source code of this file.

Functions

static UNUSED s32 FixedPoint_Distance (const u8 *firstPosition, const u8 *secondPosition)
 The distance in whole pixels between two 16.16 positions of x, y and z.

Function Documentation

◆ FixedPoint_Distance()

UNUSED s32 FixedPoint_Distance ( const u8 * firstPosition,
const u8 * secondPosition )
static

The distance in whole pixels between two 16.16 positions of x, y and z.

Callers take byte views of complete actors; their coordinate members do not form an array.

Definition at line 11 of file object_distance.h.