more progress

This commit is contained in:
mattias-blum
2025-05-15 17:51:38 -04:00
parent 6da63960c1
commit 0a2e18900f
5 changed files with 341 additions and 30 deletions
+4 -1
View File
@@ -93,7 +93,10 @@ public:
void getGlbBounds() {}
void getRotate() const {}
void place(const JGeometry::TBox2<f32>&) {}
void rotate(f32) {}
void rotate(f32 angle) {
mRotation = angle;
calcMtx();
}
void rotate(f32 offsetX, f32 offsetY, J2DRotateAxis axis, f32 angle) {
mBasePosition.x = offsetX;
mBasePosition.y = offsetY;