Use in over ref modifier in Math functions input parameters
This commit is contained in:
@@ -664,7 +664,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
Float2 uv2 = texCoordStream.GetFloat2((int)i2) * uvScale;
|
||||
|
||||
// Don't draw too small triangles
|
||||
float area = Float2.TriangleArea(ref uv0, ref uv1, ref uv2);
|
||||
float area = Float2.TriangleArea(uv0, uv1, uv2);
|
||||
if (area > 10.0f)
|
||||
{
|
||||
// Draw triangle
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace FlaxEditor.Windows
|
||||
|
||||
// Draw children with scale
|
||||
var scaling = new Float3(ContentScale, ContentScale, 1);
|
||||
Matrix3x3.Scaling(ref scaling, out Matrix3x3 scale);
|
||||
Matrix3x3.Scaling(scaling, out Matrix3x3 scale);
|
||||
Render2D.PushTransform(scale);
|
||||
if (ClipChildren)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user