DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
vector.hpp
1#pragma once
2
3#include <libvu0.h>
4
17void VectorMax(float *max, float *a, float *b);
18void VectorMax(float *max, float *a, float *b, float *c);
19void VectorMin(float *min, float *a, float *b);
20void VectorMaxMin(float *max, float *min, float *a, float *b);
21
26void PlaneNormal(float *normal, float *v0, float *v1, float *v2);
27
32float DistPlanePoint(float *normal, float *on_plane, float *point);
33
38float ReflectionPlane(float *normal, float *on_plane, float *point, float *reflection);
39
44int Check_Point_Poly3_XYZ(float *point, float *v0, float *v1, float *v2, float *normal);
45
46void MulMatrix(sceVu0FMATRIX product, sceVu0FMATRIX left_matrix, sceVu0FMATRIX right_matrix);
47void RotMatrixY(sceVu0FMATRIX matrix, float angle_y);
48void LookAtMatrixZ(sceVu0FMATRIX matrix, float *direction);
49
54void VectorInterpolate(float *out, float *from, float *to, float step, int mode);