#include <GameApi.hh>
|
| IMPORT | NewPlaneApi (Env &e) |
| IMPORT PP | function (std::function< PT(int idx)> f, int num_points, float px, float py, float sx, float sy) |
| IMPORT PP | color_function (PP pl, std::function< unsigned int(int idx)> f) |
| IMPORT PP | polygon (std::vector< PT > vec) |
| IMPORT PP | polygon2 (PTS pts) |
| IMPORT PP | color (PP p, unsigned int color) |
| IMPORT PP | trans (PP pl, float dx, float dy) |
| IMPORT std::vector< PP > | single_elem (PP p1) |
| IMPORT std::vector< PP > | or_elem (PP p1, PP p2) |
| IMPORT std::vector< PP > | or_elem (std::vector< PP > p1, std::vector< PP > p2) |
| IMPORT PP | cicle (PT center, float radius, int numpoints) |
| IMPORT PP | star (PT center, float radius_1, float radius_2, int numpoints) |
| IMPORT LI | to_lines (PP pl, float z) |
| IMPORT P | to_poly (PP pl, float z) |
| PLF | reverse_faces (PLF faces) |
| PLF | triangulate (PLF faces) |
| P | to_polygon (PLF faces) |
◆ NewPlaneApi()
| GameApi::NewPlaneApi::NewPlaneApi |
( |
Env & | e | ) |
|
◆ cicle()
| IMPORT PP GameApi::NewPlaneApi::cicle |
( |
PT | center, |
|
|
float | radius, |
|
|
int | numpoints ) |
◆ color()
| IMPORT PP GameApi::NewPlaneApi::color |
( |
PP | p, |
|
|
unsigned int | color ) |
◆ color_function()
| IMPORT PP GameApi::NewPlaneApi::color_function |
( |
PP | pl, |
|
|
std::function< unsigned int(int idx)> | f ) |
◆ function()
| IMPORT PP GameApi::NewPlaneApi::function |
( |
std::function< PT(int idx)> | f, |
|
|
int | num_points, |
|
|
float | px, |
|
|
float | py, |
|
|
float | sx, |
|
|
float | sy ) |
◆ or_elem() [1/2]
| IMPORT std::vector< PP > GameApi::NewPlaneApi::or_elem |
( |
PP | p1, |
|
|
PP | p2 ) |
◆ or_elem() [2/2]
| IMPORT std::vector< PP > GameApi::NewPlaneApi::or_elem |
( |
std::vector< PP > | p1, |
|
|
std::vector< PP > | p2 ) |
◆ polygon()
| IMPORT PP GameApi::NewPlaneApi::polygon |
( |
std::vector< PT > | vec | ) |
|
◆ polygon2()
◆ reverse_faces()
◆ single_elem()
| IMPORT std::vector< PP > GameApi::NewPlaneApi::single_elem |
( |
PP | p1 | ) |
|
◆ star()
| IMPORT PP GameApi::NewPlaneApi::star |
( |
PT | center, |
|
|
float | radius_1, |
|
|
float | radius_2, |
|
|
int | numpoints ) |
◆ to_lines()
| IMPORT LI GameApi::NewPlaneApi::to_lines |
( |
PP | pl, |
|
|
float | z ) |
◆ to_poly()
| IMPORT P GameApi::NewPlaneApi::to_poly |
( |
PP | pl, |
|
|
float | z ) |
◆ to_polygon()
◆ trans()
| IMPORT PP GameApi::NewPlaneApi::trans |
( |
PP | pl, |
|
|
float | dx, |
|
|
float | dy ) |
◆ triangulate()
The documentation for this class was generated from the following files: