ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/entity.h
(Generate patch)

Comparing libgender/entity.h (file contents):
Revision 1.33 by root, Sat Nov 6 01:10:11 2004 UTC vs.
Revision 1.35 by root, Tue Aug 9 23:58:43 2005 UTC

183 183
184 entity (geometry *g = 0); 184 entity (geometry *g = 0);
185 ~entity (); 185 ~entity ();
186}; 186};
187 187
188struct entity_moveable : entity
189{
190 vec3 v;
191 entity_moveable (geometry *g = 0) : entity (g) { }
192
193 void perform_step (double t);
194};
195
188struct entity_light : entity 196struct entity_light : entity
189{ 197{
190 light *lview; 198 light *lview;
199};
200
201/////////////////////////////////////////////////////////////////////////////
202// not the final API(!)
203
204struct skybox
205{
206 texture *tex[6];
207
208 skybox (
209 const char *left,
210 const char *front,
211 const char *right,
212 const char *back,
213 const char *top,
214 const char *bottom
215 );
216
217 ~skybox ();
218
219 void draw (view &ctx);
191}; 220};
192 221
193///////////////////////////////////////////////////////////////////////////// 222/////////////////////////////////////////////////////////////////////////////
194// 223//
195// VERY EXPERIMENTAL HEIGHTMAP 224// VERY EXPERIMENTAL HEIGHTMAP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines