Use in over ref modifier in Math functions input parameters
This commit is contained in:
@@ -74,9 +74,9 @@ namespace FlaxEditor.Surface
|
||||
var child = _children[i];
|
||||
if (!(child is SurfaceComment) && child.Visible)
|
||||
{
|
||||
Matrix3x3.Multiply(ref child._cachedTransform, ref globalTransform, out var globalChildTransform);
|
||||
Matrix3x3.Multiply(child._cachedTransform, globalTransform, out var globalChildTransform);
|
||||
var childGlobalRect = new Rectangle(globalChildTransform.M31, globalChildTransform.M32, child.Width * globalChildTransform.M11, child.Height * globalChildTransform.M22);
|
||||
if (globalClipping.Intersects(ref childGlobalRect))
|
||||
if (globalClipping.Intersects(childGlobalRect))
|
||||
{
|
||||
Render2D.PushTransform(child._cachedTransform);
|
||||
child.Draw();
|
||||
|
||||
Reference in New Issue
Block a user