18 #ifndef ZENI_QUADRILATERAL_HXX
19 #define ZENI_QUADRILATERAL_HXX
28 #if defined(REQUIRE_GL_ES)
38 template <
typename VERTEX>
47 template <
typename VERTEX>
56 template <
typename VERTEX>
66 template <
typename VERTEX>
78 template <
typename VERTEX>
83 #if !defined(DISABLE_GL) && !defined(REQUIRE_GL_ES)
84 template <
typename VERTEX>
87 a.subrender_to(screen);
88 b.subrender_to(screen);
89 c.subrender_to(screen);
90 d.subrender_to(screen);
96 template <
typename VERTEX>
102 template <
typename VERTEX>
107 template <
typename VERTEX>
114 template <
typename VERTEX>
121 template <
typename VERTEX>
123 assert(-1 < index && index < 4);
124 const VERTEX *
const ptr = &
a;
128 template <
typename VERTEX>
130 assert(-1 < index && index < 4);
131 VERTEX *
const ptr = &
a;
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t0
The Direct3D9 Rendering System.
LPDIRECT3DDEVICE9 & get_d3d_device()
See DirectX Documentation for details.
GLboolean GLboolean GLboolean GLboolean a
An Abstraction of a Quadrilateral.
return Display return Display Bool Bool int d
Triangle< VERTEX > * get_duplicate_t1() const
Get the second half of the Quadrilateral.
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
The OpenGL Rendering System.
virtual void render_to(Video_GL_Fixed &screen) const
Overridden for OpenGL rendering.
Quadrilateral< VERTEX > & operator=(const Quadrilateral< VERTEX > &rhs)
Quadrilateral< VERTEX > * get_duplicate() const
Get a duplicate of the Quadrilateral.
virtual bool is_3d() const
Tell the rendering system if we're using 3D coordinates.
Triangle< VERTEX > * get_duplicate_t0() const
Get the first half of the Quadrilateral.
void fax_Material(const Material *const &material)
Set the Material, giving the Renderable a copy.
GLdouble GLdouble GLdouble b
An Abstraction of a Triangle.
const VERTEX & operator[](const int &index) const
Get 'index'.