We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling this constructor:
Fusee/src/Engine/Core/Scene/Transform.cs
Line 48 in a310851
with (float3.Zero, float3.Zero, float3.One) fails due to this if-clause:
float3.Zero, float3.Zero, float3.One
Line 195 in a310851
as the value is already float3.Zero.
float3.Zero
In extension of this, it prevents the generation of the _translationMtx via float4x4.CreateTranslation(value);
_translationMtx
float4x4.CreateTranslation(value);
As the _translationMtx is initialized with float4x4.Zero all translation during scene traversal fails and no mesh is being rendered.
float4x4.Zero
Same applies for scale and rotation.
@ASPePeX git blame: d069b79 😛
Initialize all matrices of this class with float4x4.Identity
float4x4.Identity
The text was updated successfully, but these errors were encountered:
Fixed bug #820 - Transform.cs ctor
df90ea4
Merge pull request #821 from FUSEEProjectTeam/bugfix/820-transform-co…
f375130
…mponent-broken-when-using-newpos-rot-scale Fixed bug #820 - Transform.cs ctor
wrestledBearOnce
Successfully merging a pull request may close this issue.
Bug
Calling this constructor:
Fusee/src/Engine/Core/Scene/Transform.cs
Line 48 in a310851
with (
float3.Zero, float3.Zero, float3.One
) fails due to this if-clause:Fusee/src/Engine/Core/Scene/Transform.cs
Line 195 in a310851
as the value is already
float3.Zero
.In extension of this, it prevents the generation of the
_translationMtx
viafloat4x4.CreateTranslation(value);
As the
_translationMtx
is initialized withfloat4x4.Zero
all translation during scene traversal fails and no mesh is being rendered.Same applies for scale and rotation.
@ASPePeX git blame: d069b79 😛
Fix
Initialize all matrices of this class with
float4x4.Identity
The text was updated successfully, but these errors were encountered: