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

#include <GameApi.hh>

Public Member Functions

IMPORT PolygonDistanceField (Env &e)
IMPORT PD empty (EveryApi &ev)
IMPORT PD create_pd (P mesh, SFO distance_field)
IMPORT PD cube_pd (EveryApi &ev, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z)
IMPORT PD rounded_cube_pd (EveryApi &ev, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, float radius)
IMPORT PD sphere_pd (EveryApi &ev, PT center, float radius, int numfaces1, int numfaces2)
IMPORT PD cone_pd (EveryApi &ev, int numfaces, PT p1, PT p2, float rad1, float rad2)
IMPORT PD or_array_pd (EveryApi &ev, std::vector< PD > vec)
IMPORT PD translate_pd (EveryApi &ev, PD orig, float dx, float dy, float dz)
IMPORT PD rotatex_pd (EveryApi &ev, PD orig, float angle)
IMPORT PD rotatey_pd (EveryApi &ev, PD orig, float angle)
IMPORT PD rotatez_pd (EveryApi &ev, PD orig, float angle)
IMPORT PD scale_pd (EveryApi &ev, PD orig, float sx, float sy, float sz)
IMPORT PD color_from_normal_pd (EveryApi &ev, PD obj)
IMPORT PD ambient_occulsion_sfo (EveryApi &ev, PD obj, float d, float i)
IMPORT PD colormod_from_position (EveryApi &ev, PD obj, float px, float py, float pz, float sx, float sy, float sz)
IMPORT MT mesh_color_from_sfo (EveryApi &ev, PD orig, MT next)
IMPORT ML render_scene (EveryApi &ev, PD object, PD world)
IMPORT std::vector< ML > render_scene_array (EveryApi &ev, std::vector< PD > vec)
IMPORT P get_polygon (PD p)
IMPORT SFO get_distance_field (PD p)

Constructor & Destructor Documentation

◆ PolygonDistanceField()

GameApi::PolygonDistanceField::PolygonDistanceField ( Env & e)

Member Function Documentation

◆ ambient_occulsion_sfo()

EXPORT GameApi::PD GameApi::PolygonDistanceField::ambient_occulsion_sfo ( EveryApi & ev,
PD obj,
float d,
float i )
Here is the caller graph for this function:

◆ color_from_normal_pd()

EXPORT GameApi::PD GameApi::PolygonDistanceField::color_from_normal_pd ( EveryApi & ev,
PD obj )
Here is the caller graph for this function:

◆ colormod_from_position()

EXPORT GameApi::PD GameApi::PolygonDistanceField::colormod_from_position ( EveryApi & ev,
PD obj,
float px,
float py,
float pz,
float sx,
float sy,
float sz )
Here is the caller graph for this function:

◆ cone_pd()

IMPORT PD GameApi::PolygonDistanceField::cone_pd ( EveryApi & ev,
int numfaces,
PT p1,
PT p2,
float rad1,
float rad2 )

◆ create_pd()

EXPORT GameApi::PD GameApi::PolygonDistanceField::create_pd ( P mesh,
SFO distance_field )
Here is the caller graph for this function:

◆ cube_pd()

EXPORT GameApi::PD GameApi::PolygonDistanceField::cube_pd ( EveryApi & ev,
float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z )
Here is the caller graph for this function:

◆ empty()

EXPORT GameApi::PD GameApi::PolygonDistanceField::empty ( EveryApi & ev)

◆ get_distance_field()

EXPORT GameApi::SFO GameApi::PolygonDistanceField::get_distance_field ( PD p)
Here is the caller graph for this function:

◆ get_polygon()

EXPORT GameApi::P GameApi::PolygonDistanceField::get_polygon ( PD p)
Here is the caller graph for this function:

◆ mesh_color_from_sfo()

EXPORT GameApi::MT GameApi::PolygonDistanceField::mesh_color_from_sfo ( EveryApi & ev,
PD orig,
MT next )
Here is the caller graph for this function:

◆ or_array_pd()

EXPORT GameApi::PD GameApi::PolygonDistanceField::or_array_pd ( EveryApi & ev,
std::vector< PD > vec )
Here is the caller graph for this function:

◆ render_scene()

EXPORT GameApi::ML GameApi::PolygonDistanceField::render_scene ( EveryApi & ev,
PD object,
PD world )
Here is the caller graph for this function:

◆ render_scene_array()

EXPORT std::vector< GameApi::ML > GameApi::PolygonDistanceField::render_scene_array ( EveryApi & ev,
std::vector< PD > vec )

◆ rotatex_pd()

IMPORT PD GameApi::PolygonDistanceField::rotatex_pd ( EveryApi & ev,
PD orig,
float angle )

◆ rotatey_pd()

IMPORT PD GameApi::PolygonDistanceField::rotatey_pd ( EveryApi & ev,
PD orig,
float angle )

◆ rotatez_pd()

IMPORT PD GameApi::PolygonDistanceField::rotatez_pd ( EveryApi & ev,
PD orig,
float angle )

◆ rounded_cube_pd()

EXPORT GameApi::PD GameApi::PolygonDistanceField::rounded_cube_pd ( EveryApi & ev,
float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z,
float radius )
Here is the caller graph for this function:

◆ scale_pd()

IMPORT PD GameApi::PolygonDistanceField::scale_pd ( EveryApi & ev,
PD orig,
float sx,
float sy,
float sz )

◆ sphere_pd()

EXPORT GameApi::PD GameApi::PolygonDistanceField::sphere_pd ( EveryApi & ev,
PT center,
float radius,
int numfaces1,
int numfaces2 )
Here is the caller graph for this function:

◆ translate_pd()

IMPORT PD GameApi::PolygonDistanceField::translate_pd ( EveryApi & ev,
PD orig,
float dx,
float dy,
float dz )

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