Moving from using ManualObject to using HardwareBuffers directly.

This commit is contained in:
David Williams
2007-08-15 09:35:21 +00:00
parent 72bc4a03e3
commit eeacb222e1
3 changed files with 11 additions and 48 deletions

View File

@ -12,8 +12,7 @@ namespace Ogre
class Surface : public SimpleRenderable
{
public:
Surface();
Surface(const String& material);
Surface(const String& material = "BaseWhiteNoLighting");
~Surface(void);
void setGeometry(std::vector<Vertex> verticesToSet, std::vector<Triangle> indicesToSet);