Fix ref usage warnings with in-parameters
This commit is contained in:
@@ -499,7 +499,7 @@ namespace FlaxEngine
|
||||
}
|
||||
bounds = new BoundingBox(min, max);
|
||||
}
|
||||
mesh.SetBounds(ref bounds);
|
||||
mesh.SetBounds(bounds);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user