mirror of
https://github.com/zeldaret/ph
synced 2026-07-11 22:40:17 -04:00
Uncomment MapManager::func_ov00_0208210c
Uncomment most of MapManager::func_ov00_02082b3c Improve MapManager::func_ov00_02083840 Improve MapManager::func_ov00_02083fb0 Uncomment most of MapManager::func_ov00_02086a84 Add Vec3p_Scale
This commit is contained in:
+3
-1
@@ -48,9 +48,11 @@ extern "C" void Vec3p_Sub(Vec3p *a, Vec3p *b, Vec3p *out);
|
||||
extern "C" q20 Vec3p_Dot(Vec3p *a, Vec3p *b);
|
||||
extern "C" void Vec3p_Cross(Vec3p *a, Vec3p *b, Vec3p *out);
|
||||
extern "C" q20 Vec3p_Length(Vec3p *a);
|
||||
extern "C" void Vec3p_Normalize(Vec3p *vec, Vec3p *out);
|
||||
// extern "C" bool Vec3p_Normalize(Vec3p *vec); // 0x1fffb4c (this calls Vec3p_Normalize at 0x1ff9d4c)
|
||||
extern "C" void Vec3p_Normalize(Vec3p *vec, Vec3p *out); // 0x1ff9d4c
|
||||
extern "C" void Vec3p_Axpy(q20 a, Vec3p *x, Vec3p *y, Vec3p *out);
|
||||
extern "C" q20 Vec3p_Distance(Vec3p *a, Vec3p *b);
|
||||
extern "C" void Vec3p_Scale(Vec3p *vec, q20 scale);
|
||||
|
||||
inline void Vec3p_Rotate(Vec3p *vec, q20 sin, q20 cos, Vec3p *out) {
|
||||
out->x += MUL_Q20(vec->z, sin);
|
||||
|
||||
Reference in New Issue
Block a user