2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:07:43 +00:00

HLSL extension shaders

This commit is contained in:
Jack Andersen
2016-07-31 18:35:42 -10:00
parent d737ed7b34
commit 1c64605261
12 changed files with 224 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ zeus::CTransform CMappableObject::AdjustTransformForType()
zeus::CTransform scale;
scale.scaleBy(1.5);
zeus::CTransform orientation;
orientation.origin = {-1.4*doorCenterX, 0.0f, 0.0f};
orientation.origin = {-1.4f*doorCenterX, 0.0f, 0.0f};
zeus::CTransform tmp3 = x10_ * orientation;
orientation.rotateLocalZ(zeus::degToRad(90.0f));
return tmp3 * scale;