EXPOSE_API_SYMBOLS, SetShaderValueWithBuffer and SetShaderValueVWithBuffer.

This commit is contained in:
jussi
2024-12-10 21:50:10 +02:00
parent cb2b0e4dff
commit cdb719b239
19 changed files with 232 additions and 130 deletions

View File

@@ -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 )