diff --git a/GPU/Software/TransformUnit.cpp b/GPU/Software/TransformUnit.cpp index 63b4ae54d4..abcba1bb0d 100644 --- a/GPU/Software/TransformUnit.cpp +++ b/GPU/Software/TransformUnit.cpp @@ -155,14 +155,6 @@ WorldCoords TransformUnit::ModelToWorldNormal(const ModelCoords &coords) { return Norm3ByMatrix43(coords, gstate.worldMatrix); } -ViewCoords TransformUnit::WorldToView(const WorldCoords &coords) { - return Vec3ByMatrix43(coords, gstate.viewMatrix); -} - -ClipCoords TransformUnit::ViewToClip(const ViewCoords &coords) { - return Vec3ByMatrix44(coords, gstate.projMatrix); -} - template static ScreenCoords ClipToScreenInternal(Vec3f scaled, const ClipCoords &coords, bool *outside_range_flag) { ScreenCoords ret; diff --git a/GPU/Software/TransformUnit.h b/GPU/Software/TransformUnit.h index 95be3b2e19..be859e4fe8 100644 --- a/GPU/Software/TransformUnit.h +++ b/GPU/Software/TransformUnit.h @@ -121,8 +121,6 @@ public: static WorldCoords ModelToWorldNormal(const ModelCoords& coords); static WorldCoords ModelToWorld(const ModelCoords& coords); - static ViewCoords WorldToView(const WorldCoords& coords); - static ClipCoords ViewToClip(const ViewCoords& coords); static ScreenCoords ClipToScreen(const ClipCoords &coords, bool *outsideRangeFlag); static inline DrawingCoords ScreenToDrawing(int x, int y) { DrawingCoords ret;