mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-10 15:14:33 -04:00
Fixes
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user