EXPOSE_API_SYMBOLS, SetShaderValueWithBuffer and SetShaderValueVWithBuffer.
This commit is contained in:
@@ -164,7 +164,7 @@ function Vector2:lineAngle( v2 )
|
||||
end
|
||||
|
||||
function Vector2:atan2()
|
||||
return math.atan( self.y, self.x )
|
||||
return math.atan2 and math.atan2( self.y, self.x ) or math.atan( self.y, self.x )
|
||||
end
|
||||
|
||||
function Vector2:scale( scale )
|
||||
|
||||
Reference in New Issue
Block a user