User Tools

Site Tools


scripting:reference:system_functions:mathsfunctions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scripting:reference:system_functions:mathsfunctions [2020/01/29 04:44] – created mitscripting:reference:system_functions:mathsfunctions [2020/02/07 03:27] (current) mit
Line 7: Line 7:
  
 ==== sysSin ==== ==== sysSin ====
-^ Format | sysSin ( [ANGLE], [SCALE] )| +^ Format | sysSin ( ANGLE, [SCALE] )| 
-^ Description | Returns a sine value+^ Description | Returns a sine value ; **Angle** is in degrees (0 to 360), **Scale** is an optional parameter, that scales the result from the sine function which would normally be a value from -1 to 1 |
-^ Parameters | Angle 0 to 360 degrees | +
-^  | Scale - Scale applied to the result from the sine function (which normally returns a value from -1 to 1 |+
 ^ Returns | Scaled sine value | ^ Returns | Scaled sine value |
 +^ Parameters | Angle - 0 to 360 degrees |
 +^  | Scale -  |
 //Example//: <note> //Example//: <note>
 <code>Event( "Custom", "TreeCircle" ) <code>Event( "Custom", "TreeCircle" )
Line 30: Line 30:
  
 ==== sysCos ==== ==== sysCos ====
-^ Format | sysCos ( [ANGLE], [SCALE] )| +^ Format | sysCos ( ANGLE, [SCALE] )| 
-^ Description | Returns a cosine value+^ Description | Returns a cosine value ; **Angle** is in degrees (0 to 360), **Scale** is an optional parameter, that scales the result from the cosine function which would normally be a value from -1 to 1|
-^ Parameters | Angle 0 to 360 degrees | +
-^  | Scale - Scale applied to the result from the cosine function (which normally returns a value from -1 to 1 |+
 ^ Returns | Scaled cosine value | ^ Returns | Scaled cosine value |
 //Example//: See sysSin above \\ //Example//: See sysSin above \\
Line 39: Line 37:
  
 ==== sysGetDist ==== ==== sysGetDist ====
-^ Format | sysGetDist ( [X1][Y1][X2][Y2)|+^ Format | sysGetDist ( X1, Y1, X2, Y2 )|
 ^ Description | Calculates the distance between two points| ^ Description | Calculates the distance between two points|
-^ Parameters | Point 1 X,Y | 
-^  | Point 2 X,Y | 
 ^ Returns | Distance | ^ Returns | Distance |
 //Example//: <note> //Example//: <note>
scripting/reference/system_functions/mathsfunctions.1580294645.txt.gz · Last modified: 2020/01/29 04:44 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki