Fix ref usage warnings with in-parameters

This commit is contained in:
2025-12-06 00:36:28 +02:00
parent 74bac97f44
commit ecf074801f
83 changed files with 185 additions and 185 deletions

View File

@@ -499,7 +499,7 @@ namespace FlaxEngine
}
bounds = new BoundingBox(min, max);
}
mesh.SetBounds(ref bounds);
mesh.SetBounds(bounds);
}
return false;

View File

@@ -99,7 +99,7 @@ namespace FlaxEngine
Direction = camera.Direction;
Near = camera.NearPlane;
Far = camera.FarPlane;
camera.GetMatrices(out View, out Projection, ref viewport, ref Origin);
camera.GetMatrices(out View, out Projection, viewport, Origin);
NonJitteredProjection = Projection;
TemporalAAJitter = Float4.Zero;
RenderLayersMask = camera.RenderLayersMask;