vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
triangleCube.h File Reference
#include <math.h>

Go to the source code of this file.

Classes

struct  Point3
 
struct  Triangle3
 

Functions

long face_plane (Point3 p)
 
long bevel_2d (Point3 p)
 
long bevel_3d (Point3 p)
 
long check_point (Point3 p1, Point3 p2, float alpha, long mask)
 
long check_line (Point3 p1, Point3 p2, long outcode_diff)
 
long point_triangle_intersection (Point3 p, Triangle3 t)
 
long t_c_intersection (Triangle3 t)
 

Function Documentation

long bevel_2d ( Point3  p)
long bevel_3d ( Point3  p)
long check_line ( Point3  p1,
Point3  p2,
long  outcode_diff 
)
long check_point ( Point3  p1,
Point3  p2,
float  alpha,
long  mask 
)
long face_plane ( Point3  p)
long point_triangle_intersection ( Point3  p,
Triangle3  t 
)
long t_c_intersection ( Triangle3  t)