Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

general.h

Go to the documentation of this file.
00001 #ifndef GENERAL_H
00002 #define GENERAL_H
00003 
00004 #include "shared.h"
00005 #include "polygon.h"
00006 #include "texture.h"
00007 #include "camera.h"
00008 #include "light.h"
00009 #include "bspline.h"
00010 #include "bsp.h"
00011 #include "locmath.h"
00012 #include "tll.h"
00013 
00014 float dist_Point_to_Segment(VECTOR P, VECTOR S0, VECTOR S1, VECTOR* Output);
00015 bool CheckForParallelVectors(VECTOR Vect1, VECTOR Vect2);
00016 VECTOR line_plane_collision(VECTOR *a, VECTOR *b, POLYGON *tri1);
00017 int SphereInFrustum(VECTOR point, float radius);
00018 bool PointInFrustum(VECTOR point);
00019 void ExtractFrustum();
00020 void AddSpline(int Number, LinkedList<SPLINE>& SplineList);
00021 void DeleteSpline(int Number, LinkedList<SPLINE>& SplineList);
00022 int LoadSplines(char* SplineFileName, CAMERA* camera, LIGHT* light);
00023 void SetSplines(LinkedList<SPLINE> &);
00024 void SetGLLighting(LIGHT *);
00025 void SetGLCamera(CAMERA *);
00026 void SetGLVertices(VERTEX *);
00027 void SetGLWorld(POLYGON *, TEXTURE *, VERTEX *);
00028 void SetGLProperties();
00029 void SetGLProjection(int Width, int Height);
00030 void SetGLView(int Width, int Height);
00031 void SetGLMaterial();
00032 int SetGLTexture(TEXTURE *);
00033 void DrawMyText();
00034 void DrawGrid();
00035 void DrawWorld(BSP_node *);
00036 void DrawSphere();
00037 void DrawGreenSphere();
00038 void DrawLightSphere(LIGHT *);
00039 void DrawCone();
00040 float GetTimePassed(float &, int, float *);
00041 bool CheckClipPlanes(CAMERA Camera, VECTOR Vect);
00042 void DrawHalo(TEXTURE* texture, LIGHT* light, CAMERA* camera);
00043 void DrawFire(TEXTURE* texture, LIGHT* light, CAMERA* camera);
00044 void DrawBillboards(TEXTURE* texture, LIGHT* light, CAMERA* camera);
00045 
00046 #endif //GENERAL_H

Generated on Fri Dec 23 05:15:47 2005 for Constructive Solid Geometry by doxygen1.2.15