BoB robotics
The Brains on Board robotics library
BoBRobotics::AntWorld::World Class Reference

Provides a means for loading a world stored on disk into OpenGL. More...

#include <world.h>

Public Member Functions

void render () const
 
void load (const filesystem::path &filename, const GLfloat(&worldColour)[3], const GLfloat(&groundColour)[3])
 
void loadObj (const filesystem::path &objFilename, float scale=1.0f, int maxTextureSize=-1, GLint textureFormat=GL_RGB)
 
const Vector3< meter_t > & getMinBound ()
 
const Vector3< meter_t > & getMaxBound ()
 
void setMinBound (const Vector3< meter_t > &minBound)
 
void setMaxBound (const Vector3< meter_t > &maxBound)
 

Detailed Description

Provides a means for loading a world stored on disk into OpenGL.


The documentation for this class was generated from the following files: