GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::NewPlaneApi Class Reference

#include <GameApi.hh>

Public Member Functions

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)

Constructor & Destructor Documentation

◆ NewPlaneApi()

GameApi::NewPlaneApi::NewPlaneApi ( Env & e)

Member Function Documentation

◆ cicle()

IMPORT PP GameApi::NewPlaneApi::cicle ( PT center,
float radius,
int numpoints )

◆ color()

IMPORT PP GameApi::NewPlaneApi::color ( PP p,
unsigned int color )
Here is the caller graph for this function:

◆ 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()

IMPORT PP GameApi::NewPlaneApi::polygon2 ( PTS pts)

◆ reverse_faces()

GameApi::PLF GameApi::NewPlaneApi::reverse_faces ( PLF faces)
Here is the caller graph for this function:

◆ 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()

GameApi::P GameApi::NewPlaneApi::to_polygon ( PLF faces)
Here is the caller graph for this function:

◆ trans()

IMPORT PP GameApi::NewPlaneApi::trans ( PP pl,
float dx,
float dy )

◆ triangulate()

GameApi::PLF GameApi::NewPlaneApi::triangulate ( PLF faces)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: