Skip to content

Commit

Permalink
Switch Godot demos to 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 committed May 20, 2024
1 parent aaa30ca commit 31a7a3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions other/GodotDemo/JitterGodot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Jitter2" Version="2.2.1" />
<PackageReference Include="Jitter2" Version="2.3.0" />
</ItemGroup>
</Project>
</Project>
5 changes: 3 additions & 2 deletions other/GodotDemo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ public override void _Process(double delta)

for (int i = 0; i < cubes.Count; i++)
{
ref JMatrix mat = ref cubes[i].Data.Orientation;
ref JVector pos = ref cubes[i].Data.Position;
JMatrix mat = JMatrix.CreateFromQuaternion(cubes[i].Data.Orientation);
JVector pos = cubes[i].Data.Position;

Transform3D trans = Transform3D.Identity;

trans[0] = Conversion.FromJitter(mat.GetColumn(0));
trans[1] = Conversion.FromJitter(mat.GetColumn(1));
trans[2] = Conversion.FromJitter(mat.GetColumn(2));
Expand Down
4 changes: 2 additions & 2 deletions other/GodotSoftBodies/JitterGodot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Jitter2" Version="2.2.1" />
<PackageReference Include="Jitter2" Version="2.3.0" />
</ItemGroup>
</Project>
</Project>

0 comments on commit 31a7a3b

Please sign in to comment.