18 #ifndef ZENI_LINE_SEGMENT_HXX
19 #define ZENI_LINE_SEGMENT_HXX
29 #if defined(REQUIRE_GL_ES)
37 template <
typename VERTEX>
44 template <
typename VERTEX>
51 template <
typename VERTEX>
59 template <
typename VERTEX>
69 template <
typename VERTEX>
74 #if !defined(DISABLE_GL) && !defined(REQUIRE_GL_ES)
75 template <
typename VERTEX>
78 a.subrender_to(screen);
79 b.subrender_to(screen);
85 template <
typename VERTEX>
91 template <
typename VERTEX>
96 template <
typename VERTEX>
98 assert(-1 < index && index < 2);
99 const VERTEX *
const ptr = &
a;
103 template <
typename VERTEX>
105 assert(-1 < index && index < 2);
106 VERTEX *
const ptr = &
a;
The Direct3D9 Rendering System.
LPDIRECT3DDEVICE9 & get_d3d_device()
See DirectX Documentation for details.
An Abstraction of a Line.
const VERTEX & operator[](const int &index) const
Get 'index'.
virtual void render_to(Video_GL_Fixed &screen) const
Overridden for OpenGL rendering.
GLboolean GLboolean GLboolean GLboolean a
The OpenGL Rendering System.
virtual bool is_3d() const
Tell the rendering system if we're using 3D coordinates.
Line_Segment< VERTEX > * get_duplicate() const
Get a duplicate of the Line.
GLdouble GLdouble GLdouble b
Line_Segment< VERTEX > & operator=(const Line_Segment< VERTEX > &rhs)