brushconstruct::Prism Class Reference
#include <Prism.h>
Detailed Description
Definition at line 7 of file Prism.h.
Member Function Documentation
void brushconstruct::Prism::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::Prism::getInstance |
( |
|
) |
[inline, static] |
const float brushconstruct::Prism::getMaxExtent2D |
( |
const Vector3 & |
extents, |
|
|
int |
axis | |
|
) |
| | const [inline, private] |
const std::string brushconstruct::Prism::getName |
( |
|
) |
const [virtual] |
const int brushconstruct::Prism::getViewAxis |
( |
|
) |
const [inline, private] |
Field Documentation
The documentation for this class was generated from the following file:
- src/tools/radiant/radiant/brush/construct/Prism.h