Skip to content

Commit

Permalink
Fixed bug #820 - Transform.cs ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
wrestledBearOnce committed Jul 11, 2023
1 parent 819408b commit df90ea4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Engine/Core/Scene/Transform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public class Transform : SceneComponent
#region Fields

private bool _matrixDirty = true;
private float4x4 _matrix;
private float4x4 _matrix = float4x4.Identity;

private float4x4 _translationMtx;
private float4x4 _rotationMtx;
private float4x4 _scaleMtx;
private float4x4 _translationMtx = float4x4.Identity;
private float4x4 _rotationMtx = float4x4.Identity;
private float4x4 _scaleMtx = float4x4.Identity;

//cached Values
private bool _translationVecDirty = true;
Expand Down

0 comments on commit df90ea4

Please sign in to comment.