|
|
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 y axis.}}
| |
− | === Returns ===
| |
− | Nothing.
| |
− | == See Also ==
| |
− | * [[parent::Geometry]]
| |
− | [[Category:Functions]]
| |
− | {{#set:Description=Flip the vertex coordinates along a specified axis.}}
| |
− | == Other Languages ==
| |
− | {{i18n|Geometry:flip}}
| |