#include "Base/spStandard.hpp"
#include "Base/spDimensionVector3D.hpp"
#include "Base/spDimensionMatrix4.hpp"
Go to the source code of this file.
Classes | |
class | sp::scene::ClipVertex |
Namespaces | |
namespace | sp |
!! | |
namespace | sp::video |
All rendering and drawing operations for 2D and 3D can be found in this namespace. | |
namespace | sp::scene |
Add 3D object management functions and scene rendering can be found in this namespace. | |
namespace | sp::scene::MeshModifier |
Namespace for mesh buffer modification. This is only to modify vertex coordinates and delta connections. | |
Functions | |
SP_EXPORT void | sp::scene::MeshModifier::meshTranslate (video::MeshBuffer &Surface, const dim::vector3df &Direction) |
Translates each vertex coordinate in the specified direction. | |
SP_EXPORT void | sp::scene::MeshModifier::meshTransform (video::MeshBuffer &Surface, const dim::vector3df &Size) |
Transforms each vertex coordinate by multiplying it with the specified size. | |
SP_EXPORT void | sp::scene::MeshModifier::meshTransform (video::MeshBuffer &Surface, const dim::matrix4f &Matrix) |
Transforms each vertex coordinate by multiplying it with the specified transformation matrix. | |
SP_EXPORT void | sp::scene::MeshModifier::meshTurn (video::MeshBuffer &Surface, const dim::vector3df &Rotation) |
Turns each vertex coordinate by rotating them with the specified rotation vector. This function performs a YXZ matrix rotation. | |
SP_EXPORT void | sp::scene::MeshModifier::meshFlip (video::MeshBuffer &Surface) |
Flips the mesh. i.e. each vertex coordinate will be inverted. | |
SP_EXPORT void | sp::scene::MeshModifier::meshFlip (video::MeshBuffer &Surface, bool isXAxis, bool isYAxis, bool isZAxis) |
Flips each vertex coordiante only for the specified axles. | |
SP_EXPORT void | sp::scene::MeshModifier::meshClip (video::MeshBuffer &Surface, const dim::plane3df &Plane) |
SP_EXPORT void | sp::scene::MeshModifier::meshFit (Mesh &Obj, const dim::vector3df &Position, const dim::vector3df &Size) |
SP_EXPORT void | sp::scene::MeshModifier::meshSpherify (Mesh &Obj, f32 Factor) |
SP_EXPORT void | sp::scene::MeshModifier::meshTwist (Mesh &Obj, f32 Rotation) |