Rotate Dönerfisch
This commit is contained in:
@@ -8,7 +8,7 @@ namespace JabyEngine {
|
||||
/*
|
||||
RotTrans
|
||||
|
||||
Jaby: Can we use gte_stsv instead of gte_stlvnl for writing to a SVECTOR?
|
||||
TODO: Can we use gte_stsv instead of gte_stlvnl for writing to a SVECTOR?
|
||||
Do we have to use gte_stflg??
|
||||
Look at: RotTransSV???
|
||||
|
||||
|
@@ -32,6 +32,7 @@ namespace JabyEngine {
|
||||
};
|
||||
}
|
||||
|
||||
// TODO: Split MATRIX into ROTMATRIX and TRANSFERVECTOR or something like that. But first get it running
|
||||
struct MATRIX {
|
||||
int16_t rot[3][3]; // Rotation matrix
|
||||
int32_t trans[3]; // Translation vector
|
||||
@@ -46,6 +47,8 @@ namespace JabyEngine {
|
||||
.trans = {0, 0, 0}
|
||||
};
|
||||
}
|
||||
|
||||
static MATRIX rotation(int32_t x, int32_t y, int32_t z);
|
||||
};
|
||||
|
||||
using VECTOR = internal::VECTOR<int32_t>;
|
||||
|
Reference in New Issue
Block a user