Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
|
A physic object representing a triangle created using Group::CreatePhTriangle. More...
#include <header.hpp>
Public Member Functions | |
Vector2D | GetPoint (number nb) |
Get the point nb of the triangle (0 <= nb < 3) | |
nil | SetPoint (number nb, Vector2D pt) |
Set the point nb of the triangle (0 <= nb < 3) |
A physic object representing a triangle created using Group::CreatePhTriangle.
Vector2D PhTriangle::GetPoint | ( | number | nb | ) |
Get the point nb of the triangle (0 <= nb < 3)
nil PhTriangle::SetPoint | ( | number | nb, |
Vector2D | pt | ||
) |
Set the point nb of the triangle (0 <= nb < 3)