Difference between revisions of "Geometry:flip"

(Added formula note for flipping)
(Removed)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.9.0]]|090|type=function}}
 
Flip the vertex coordinates along a specified axis.
 
  
The formula for flipping is '''coordinate = max_coordinate + min_coordinate - vertex_coordinate'''.
 
 
== Function ==
 
=== Synopsis ===
 
<source lang="lua">
 
Geometry:flip( x, y )
 
</source>
 
=== Arguments ===
 
{{param|boolean|x|True if you want to flip along the x axis.}}
 
{{param|boolean|y|True if you want to flip along the x axis.}}
 
=== Returns ===
 
Nothing.
 
== See Also ==
 
* [[parent::Geometry]]
 
[[Category:Functions]]
 
{{#set:Description=Flip the vertex coordinates along a specified axis.}}
 
== Other Languages ==
 
{{i18n|Geometry:flip}}
 

Latest revision as of 19:05, 29 July 2013