This commit is contained in:
MegaMech
2025-03-19 21:12:56 -06:00
parent a422822506
commit 80c232a26f
3 changed files with 11 additions and 9 deletions
-5
View File
@@ -14,7 +14,6 @@ StaticMeshActor::StaticMeshActor(std::string name, FVector pos, IRotator rot, FV
void StaticMeshActor::Draw() {
Mat4 mtx;
printf("DRAWING \n");
gSPSetGeometryMode(gDisplayListHead++, G_SHADING_SMOOTH);
gSPClearGeometryMode(gDisplayListHead++, G_LIGHTING);
if (!Model.empty()) {
@@ -23,10 +22,6 @@ printf("DRAWING \n");
gSPDisplayList(gDisplayListHead++, (Gfx*)Model.c_str());
}
}
FVector test = FVector(cameras[0].pos[0], cameras[0].pos[1], cameras[0].pos[2]);
FVector diff = test - Pos;
printf("Cam dist: %f", diff.Magnitude());
}
void StaticMeshActor::Destroy() {