PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
Loading...
Searching...
No Matches
SfmlModel Class Reference

Sfml Model class. More...

#include <SfmlModel.hpp>

Inheritance diagram for SfmlModel:
graphic::IModel

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.
 
- Public Member Functions inherited from graphic::IModel
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
 

Detailed Description

Sfml Model class.


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