-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Description
Bug
Calling this constructor:
Fusee/src/Engine/Core/Scene/Transform.cs
Line 48 in a310851
public Transform(float3 translation, float3 rotation, float3 scale) |
with (float3.Zero, float3.Zero, float3.One
) fails due to this if-clause:
Fusee/src/Engine/Core/Scene/Transform.cs
Line 195 in a310851
if (Translation != value) |
as the value is already float3.Zero
.
In extension of this, it prevents the generation of the _translationMtx
via float4x4.CreateTranslation(value);
As the _translationMtx
is initialized with float4x4.Zero
all translation during scene traversal fails and no mesh is being rendered.
Same applies for scale and rotation.
Fix
Initialize all matrices of this class with float4x4.Identity
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status