![]() |
PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
|
Sfml Model class. More...
#include <SfmlModel.hpp>
Public Member Functions | |
SfmlModel () | |
Construct a new Sfml Model object. | |
~SfmlModel () | |
Destroy the Sfml Model object. | |
__v3f_t | getPosition () const override |
Get the Position object. | |
void | setPosition (__v3f_t pos) override |
Set the Position object. | |
std::vector< sf::Vector3f > | getVertices () |
Get the Vertices object. | |
![]() | |
virtual void | setPosition (__v3f_t position)=0 |
Protected Member Functions | |
void | rotate (sf::Vector3f angle, sf::Vector3f center={0, 0, 0}) |
rotate will rotate the model | |
Protected Attributes | |
sf::Vector3f | position |
Quaternion | rotation |
std::vector< sf::Vector3f > | vertices |
Friends | |
class | SfmlWindow |
class | SfmlCamera |
Sfml Model class.