- Timestamp:
- 03/31/06 17:29:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGCluster2d.h
r700 r721 2 2 #define _IMGCLUSTER2D_H 3 3 4 #include "IMGCluster.h"4 #include <IMGPrerequisites.h> 5 5 6 6 namespace IMG { 7 7 8 class Cluster; 9 8 10 class Cluster2d { 9 11 public: 10 inline Cluster2d() { 11 Vector3s = NULL; 12 cluster =NULL; 13 normal = NULL; 14 }; 12 Cluster2d(); 13 14 virtual ~Cluster2d(); 15 15 16 16 //* Create a 2d polygon from a polygon 3d. The projecte polygon is belong the dominant normal. … … 21 21 void Print(); 22 22 23 inline Ogre::Vector2 * GetVector3s() { return Vector3s; }23 Ogre::Vector2 * GetVector3s(); 24 24 25 inline std::vector<Ogre::Vector2> * GetVector3sVector() { return &Vector3s2_vector; }25 std::vector<Ogre::Vector2> * GetVector3sVector(); 26 26 27 inline Ogre::Vector3 * GetNormal() { return normal; }27 Ogre::Vector3 * GetNormal(); 28 28 29 protected: 29 30 30 private:31 31 unsigned int id; 32 32 … … 34 34 35 35 Ogre::Vector2 *Vector3s; 36 36 37 std::vector<Ogre::Vector2> Vector3s2_vector; 37 38 38 39 Ogre::Vector3 *normal; 39 40 public:41 ~Cluster2d();42 40 43 41 };
Note: See TracChangeset
for help on using the changeset viewer.