Ignore:
Timestamp:
10/26/08 20:39:31 (16 years ago)
Author:
mattausch
Message:

worked on dynamic objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/RenderQueue.h

    r3061 r3071  
    33 
    44#include "common.h" 
    5 #include "Timer/PerfTimer.h" 
    65 
    76 
     
    1211class Camera; 
    1312 
     13typedef std::pair<Shape *, Transform3 *> ShapePair; 
     14typedef std::vector<ShapePair> ShapePairArray; 
    1415 
    1516/** Defines a bucket for scene entities that have the same properties. 
     
    4546 
    4647        /// the shapes that belong to a bucket 
    47         ShapeContainer mShapes; 
     48        ShapePairArray mShapes; 
    4849}; 
    4950 
     
    7374        /** Enqueues a single shape. 
    7475        */ 
    75         void Enqueue(Shape *shape); 
     76        void Enqueue(Shape *shape, Transform3 *trafo); 
    7677        /** Sets the current render state 
    7778        */ 
     
    8687        */ 
    8788        void Clear(); 
     89 
    8890 
    8991protected: 
Note: See TracChangeset for help on using the changeset viewer.