Revision 138,
633 bytes
checked in by hidalgo, 19 years ago
(diff) |
Uploaded WP4 Dummy code(Geometry)
|
Rev | Line | |
---|
[138] | 1 | #ifndef __GEO_OGRE_GT_GEOMETRY__
|
---|
| 2 | #define __GEO_OGRE_GT_GEOMETRY__
|
---|
| 3 |
|
---|
| 4 | #include <Ogre.h>
|
---|
| 5 | #include <GeoMesh.h>
|
---|
| 6 | #include <GeoVertexBuffer.h>
|
---|
| 7 |
|
---|
| 8 | class OgreGTGeometry : public Ogre::Singleton<OgreGTGeometry>
|
---|
| 9 | {
|
---|
| 10 | public:
|
---|
| 11 | Geometry::Mesh *transform( const Ogre::Mesh *ogreMesh );
|
---|
| 12 | Ogre::MeshPtr transform( const Geometry::Mesh *geoMesh,
|
---|
| 13 | const Ogre::String name,
|
---|
| 14 | const Ogre::String groupName = Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME );
|
---|
| 15 |
|
---|
| 16 | private:
|
---|
| 17 | bool loadVertexInfo(const Ogre::VertexData* OgreV, Geometry::VertexBuffer *GeoV,
|
---|
| 18 | Ogre::VertexElementSemantic OgreType, unsigned int GeoType);
|
---|
| 19 | };
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.