18 #ifndef ZENI_TRIANGLE_H
19 #define ZENI_TRIANGLE_H
35 template <
typename VERTEX>
40 const VERTEX &vertex1,
41 const VERTEX &vertex2);
47 virtual bool is_3d()
const;
49 #ifndef DISABLE_GL_FIXED
53 #ifndef DISABLE_GL_SHADER
77 void * m_alignment_rubbish;
The Direct3D9 Rendering System.
Triangle< VERTEX > * get_duplicate_subt1() const
Get quarter 1 of the Triangle; Can be used for software LOD increase.
Triangle< VERTEX > & operator=(const Triangle< VERTEX > &rhs)
Triangle< VERTEX > * get_duplicate() const
Get a duplicate of the Triangle.
Triangle< VERTEX > * get_duplicate_subt2() const
Get quarter 2 of the Triangle; Can be used for software LOD increase.
Triangle< VERTEX > * get_duplicate_subt3() const
Get quarter 3 of the Triangle; Can be used for software LOD increase.
Triangle< VERTEX > * get_duplicate_subt0() const
Get quarter 0 of the Triangle; Can be used for software LOD increase.
The OpenGL Rendering System.
The OpenGL Rendering System.
virtual void render_to(Video_GL_Fixed &screen) const
Overridden for OpenGL rendering.
virtual bool is_3d() const
Tell the rendering system if we're using 3D coordinates.
An Abstraction of a Triangle.
const VERTEX & operator[](const int &index) const
Get 'index'.