GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi_pts.cc File Reference
#include "GameApi_h.hh"
#include "GameApi_low.hh"
Include dependency graph for GameApi_pts.cc:

Classes

class  CombinePointsApiPoints
class  MoveResize
class  LoadMatrices
class  LoadPoints
class  OrPoints
class  SurfacePoints
class  MatrixPoints
class  AnimMixPTS
struct  ThreadInfo_pts
class  ThreadedPrepare_pts
class  ColorPoints
class  StandardBox
struct  Cont
class  MeshQuad
class  MeshQuadColor
class  RandomLattice
class  PTSGrid
class  PTSGridBB
class  SinglePTS
class  LIFromPTS
class  MemoizePTS
class  CollisionPoints
class  CollisionBindInst
class  CollisionBind
class  CollisionCollect
class  PTArray
class  LIPTS
class  CompareCC
class  SortPTS
class  HemiSphere_points
class  FaceCenterPoints2
struct  Bullet
class  IteratePoints
class  RandomSpeeds
class  PressureGradient
class  MatrixField
class  PlyLoader
class  PlyLoader::stringstream
class  PlyPTS
class  PlyFaceCollection
struct  FieldPoint
class  PointsField
class  EmptyPTS
class  LinesPts
class  PublishHeightField
class  HeightField
class  HeightField_p
class  CBM_TO_CFB

Macros

#define VAO   1

Functions

unsigned int swap_color (unsigned int c)
int colour_divisor_calc2 (FaceCollection *coll)
void * thread_func_pts (void *data)
Cont * find_meshquad (int count)
int meshquad_calculate_id (FaceCollection *coll, int count)
void check_world (MainLoopEnv &e)
float AxisPos (Point p1, Point p2, Point p)
std::pair< float, float > FindMinMaxAxis (Point p1, Point p2, std::vector< Point > vec)
bool FindCollideSeparated (Point p1, Point p2, std::vector< Point > vec1, std::vector< Point > vec2)
bool Collide (CollisionData *d1, CollisionData *d2)

Variables

IMPORT std::string gameapi_homepageurl
Matrix g_last_resize
int g_pthread_count
std::vector< Cont > g_meshquad_data
int axis_data []
bool g_restart_ongoing
float quake_pos_x
float quake_pos_y
float quake_rot_y

Macro Definition Documentation

◆ VAO

#define VAO   1

Function Documentation

◆ AxisPos()

float AxisPos ( Point p1,
Point p2,
Point p )
Here is the caller graph for this function:

◆ check_world()

void check_world ( MainLoopEnv & e)
Here is the caller graph for this function:

◆ Collide()

bool Collide ( CollisionData * d1,
CollisionData * d2 )
Here is the caller graph for this function:

◆ colour_divisor_calc2()

int colour_divisor_calc2 ( FaceCollection * coll)

◆ find_meshquad()

Cont * find_meshquad ( int count)
Here is the caller graph for this function:

◆ FindCollideSeparated()

bool FindCollideSeparated ( Point p1,
Point p2,
std::vector< Point > vec1,
std::vector< Point > vec2 )
Here is the caller graph for this function:

◆ FindMinMaxAxis()

std::pair< float, float > FindMinMaxAxis ( Point p1,
Point p2,
std::vector< Point > vec )
Here is the caller graph for this function:

◆ meshquad_calculate_id()

int meshquad_calculate_id ( FaceCollection * coll,
int count )
Here is the caller graph for this function:

◆ swap_color()

unsigned int swap_color ( unsigned int c)

◆ thread_func_pts()

void * thread_func_pts ( void * data)
Here is the caller graph for this function:

Variable Documentation

◆ axis_data

int axis_data[]
Initial value:
= { 0,1,
1,0,
0,2,
2,0,
0,3,
3,0,
1,4,
4,1,
1,5,
5,1,
2,4,
4,2,
2,6,
6,2,
3,5,
5,3,
3,6,
6,3,
4,7,
7,4,
5,7,
7,5,
6,7,
7,6
}

◆ g_last_resize

Matrix g_last_resize
extern

◆ g_meshquad_data

std::vector<Cont> g_meshquad_data

◆ g_pthread_count

int g_pthread_count
extern

◆ g_restart_ongoing

bool g_restart_ongoing
extern

◆ gameapi_homepageurl

IMPORT std::string gameapi_homepageurl
extern

◆ quake_pos_x

float quake_pos_x
extern

◆ quake_pos_y

float quake_pos_y
extern

◆ quake_rot_y

float quake_rot_y
extern