// ============================================================== // This file is part of MegaGlest Shared Library (www.megaglest.org) // // Copyright (C) 2012 Mark Vejvoda, Titus Tscharntke // The Megaglest Team, under GNU GPL v3.0 // ============================================================== #include "buffer.h" #include "leak_dumper.h" namespace Shared{ namespace Graphics{ // ===================================================== // class VertexBuffer // ===================================================== VertexBuffer::VertexBuffer(){ positionPointer= NULL; normalPointer= NULL; for(int i= 0; i