My Project: openb3dlib.mod/openb3d/src/csg.cpp File Reference

My Project

Namespaces | Functions | Variables
csg.cpp File Reference
`#include "csg.h"`

## Namespaces

| CSG

## Functions

float | CSG::dist (float x, float y, float z, float x2, float y2, float z2)
float | CSG::PointDistanceToLine (float ax, float ay, float az, float bx, float by, float bz, float px, float py, float pz)
CSGTriangle * | CSG::MakeTriangle (Mesh *mesh, Surface *surf, float x0, float y0, float z0, float u0, float v0, float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, int loop, CSGTriangle *org)
void | CSG::ScanObject (Mesh *mesh)
int | CSG::ray_plane (float p1x, float p1y, float p1z, float p2x, float p2y, float p2z, float nx, float ny, float nz, float d)
int | CSG::SplitTriangle (CSGTriangle *t1, CSGTriangle *t2, int dosplit=0, int loop=1)
float | CSG::findmin (float a, float b, float c)
float | CSG::findmax (float a, float b, float c)
bool | CSG::BoxesOverlap (float x0, float y0, float z0, float w0, float h0, float d0, float x2, float y2, float z2, float w2, float h2, float d2)
bool | CSG::CSGTrisIntersect (CSGTriangle *t1, CSGTriangle *t2)
void | CSG::SplitTriangles (Mesh *obj1)
Mesh * | CSG::CopyMeshAt (Mesh *mesh)
bool | CSG::Ray_Intersect_Triangle (float Px, float Py, float Pz, float Dx, float Dy, float Dz, float V0x, float V0y, float V0z, float V1x, float V1y, float V1z, float V2x, float V2y, float V2z, int Extend_To_Infinity=true, int Cull_Backfaces=false, int Flip_Faces=false)
float | CSG::Ray_Intersect_Mesh_Max (Mesh *mesh, float Px, float Py, float Pz, float Dx, float Dy, float Dz, bool Extend_To_Infinity=true, bool Cull_Backfaces=false, bool Flip_Mesh=false, bool Method=1)
void | CSG::RebuildMesh (Mesh *mesh, Mesh *mesh2, int invert=false, int keepshared=false)
Mesh * | CSG::MeshCSG (Mesh *m1, Mesh *m2, int method)

## Variables

float | CSG::npicked [3]
float | CSG::tpicked [3]