Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
vec.c File Reference

Functions

asm void PSVECAdd (const register Vec *vec1, const register Vec *vec2, register Vec *ret)
 
asm void PSVECSubtract (const register Vec *vec1, const register Vec *vec2, register Vec *ret)
 
asm void PSVECScale (register const Vec *src, register Vec *dst, register f32 scale)
 
void C_VECScale (const Vec *src, Vec *dst, f32 scale)
 
void PSVECNormalize (const register Vec *vec1, register Vec *ret)
 
asm f32 PSVECSquareMag (register const Vec *v)
 
f32 PSVECMag (const register Vec *v)
 
asm f32 PSVECDotProduct (const register Vec *vec1, const register Vec *vec2)
 
asm void PSVECCrossProduct (register const Vec *a, register const Vec *b, register Vec *axb)
 
void C_VECHalfAngle (const Vec *a, const Vec *b, Vec *half)
 
void C_VECReflect (const Vec *src, const Vec *normal, Vec *dst)
 
asm f32 PSVECSquareDistance (register const Vec *a, register const Vec *b)
 
f32 PSVECDistance (register const Vec *a, register const Vec *b)
 

Function Documentation

◆ C_VECHalfAngle()

void C_VECHalfAngle ( const Vec a,
const Vec b,
Vec half 
)

◆ C_VECReflect()

void C_VECReflect ( const Vec src,
const Vec normal,
Vec dst 
)

◆ C_VECScale()

void C_VECScale ( const Vec src,
Vec dst,
f32  scale 
)

◆ PSVECAdd()

asm void PSVECAdd ( const register Vec vec1,
const register Vec vec2,
register Vec ret 
)

◆ PSVECCrossProduct()

asm void PSVECCrossProduct ( register const Vec a,
register const Vec b,
register Vec axb 
)

◆ PSVECDistance()

f32 PSVECDistance ( register const Vec a,
register const Vec b 
)

◆ PSVECDotProduct()

asm f32 PSVECDotProduct ( const register Vec vec1,
const register Vec vec2 
)

◆ PSVECMag()

f32 PSVECMag ( const register Vec v)

◆ PSVECNormalize()

void PSVECNormalize ( const register Vec vec1,
register Vec ret 
)

◆ PSVECScale()

asm void PSVECScale ( register const Vec src,
register Vec dst,
register f32  scale 
)

◆ PSVECSquareDistance()

asm f32 PSVECSquareDistance ( register const Vec a,
register const Vec b 
)

◆ PSVECSquareMag()

asm f32 PSVECSquareMag ( register const Vec v)

◆ PSVECSubtract()

asm void PSVECSubtract ( const register Vec vec1,
const register Vec vec2,
register Vec ret 
)