SSBM Decomp
Loading...
Searching...
No Matches
spline.h
Go to the documentation of this file.
1#ifndef SYSDOLPHIN_BASELIB_SPLINE_H
2#define SYSDOLPHIN_BASELIB_SPLINE_H
3
4#include <dolphin/mtx.h>
5
6typedef struct HSD_Spline {
7 /* +0 */ u8 type;
8 /* +2 */ s16 numcv;
9 /* +4 */ f32 tension;
10 /* +8 */ Vec3* cv;
11 /* +C */ f32 totalLength;
12 /* +10 */ f32* segLength;
13 /* +14 */ f32 (*segPoly)[5];
15
20
21#endif
struct Vec Vec3
signed short int s16
Definition types.h:6
float f32
Definition types.h:13
unsigned char u8
Definition types.h:5
void splGetSplinePoint(Vec3 *, HSD_Spline *, f32)
Definition spline.c:82
f32 splArcLengthGetParameter(HSD_Spline *, f32)
Definition spline.c:178
void splArcLengthPoint(Vec3 *, HSD_Spline *, f32)
Definition spline.c:235
f32 splGetHelmite(f32, f32, f32, f32, f32, f32)
Definition spline.c:9
Definition spline.h:6
f32 * segLength
Definition spline.h:12
u8 type
Definition spline.h:7
f32(* segPoly)[5]
Definition spline.h:13
f32 tension
Definition spline.h:9
Vec3 * cv
Definition spline.h:10
s16 numcv
Definition spline.h:8
f32 totalLength
Definition spline.h:11