Browse Source

Merge pull request #285 from GWRon/fix_transformationoverload

Fix: [Max2D.mod] Corrected SetTransform overload
Brucey 2 years ago
parent
commit
a244e64d71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      max2d.mod/max2d.bmx

+ 1 - 1
max2d.mod/max2d.bmx

@@ -1460,7 +1460,7 @@ about:
 SetTransform is a shortcut for setting both the rotation and
 scale parameters in Max2D with a single function call.
 End Rem
-Function SetTransform( rotation:Double = 0:Double, scale_x:Double = 1:Double, scale_y:Float = 1:Double )
+Function SetTransform( rotation:Double, scale_x:Double = 1:Double, scale_y:Float = 1:Double )
 	TMax2DGraphics.Current().SetTransform(Float(rotation), Float(scale_x), Float(scale_y))
 End Function