brushconstruct::Cuboid Class Reference

#include <Cuboid.h>

Inheritance diagram for brushconstruct::Cuboid:
Inheritance graph
[legend]
Collaboration diagram for brushconstruct::Cuboid:
Collaboration graph
[legend]

Public Member Functions

void generate (Brush &brush, const AABB &bounds, std::size_t sides, const TextureProjection &projection, const std::string &shader)
const std::string getName () const

Static Public Member Functions

static BrushConstructorgetInstance ()

Detailed Description

Definition at line 8 of file Cuboid.h.


Member Function Documentation

void brushconstruct::Cuboid::generate ( Brush brush,
const AABB &  bounds,
std::size_t  sides,
const TextureProjection &  projection,
const std::string shader 
) [virtual]
Parameters:
[out] brush The brush to create the planes for
[in] bounds The mins and maxs of the cube
[in] sides 
[in] projection The texture projection that is used (shift, scale and rotate values)
[in] shader The path of the texture relative to the base dir

Implements brushconstruct::BrushConstructor.

static BrushConstructor& brushconstruct::Cuboid::getInstance (  )  [inline, static]

Definition at line 16 of file Cuboid.h.

const std::string brushconstruct::Cuboid::getName (  )  const [virtual]

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

Generated by  doxygen 1.6.2