32 #include <libFreeWRL.h>
34 #include "../vrml_parser/Structs.h"
35 #include "../main/headers.h"
36 #include "LinearAlgebra.h"
46 int count_IFS_faces(
int cin,
struct Multi_Int32 *coordIndex);
49 IFS_face_normals(
struct point_XYZ *facenormals,
60 IFS_check_normal(
struct point_XYZ *facenormals,
68 add_to_face(
int point,
73 Elev_Tri(
int vertex_ind,
85 Extru_tex(
int vertex_ind,
102 float *GeneratedTexCoords,
106 Extru_check_normal(
struct point_XYZ *facenormals,
113 do_color_normal_reset(
void);
116 do_glNormal3fv(
struct SFVec3f *dest, GLfloat *param);
118 void stream_polyrep(
void *node,
void *coord,
void *fogCoord,
void *color,
void *normal,
struct X3D_TextureCoordinate *texCoord);
119 void compile_polyrep(
void *node,
void *coord,
void *fogCoord,
void *color,
void *normal,
struct X3D_TextureCoordinate *texCoord);
127 int intersect_polyrep2(
struct X3D_Node *node,
float *p1,
float *p2,
Stack *intersection_stack);
128 void render_ray_polyrep(
void *node);