fix namespaces + assets

This commit is contained in:
arthur.jamet
2021-05-25 14:21:31 +02:00
75 changed files with 36276 additions and 627 deletions
+23 -22
View File
@@ -7,32 +7,33 @@
#include "Drawables/ADrawable3D.hpp"
RAY::Drawables::Drawables3D::ADrawable3D::ADrawable3D(const RAY::Vector3 &position, const RAY::Color &color):
_position(position), _color(color)
namespace RAY::Drawables
{
}
ADrawable3D::ADrawable3D(const RAY::Vector3 &position, const RAY::Color &color) :
_position(position), _color(color)
{
}
const RAY::Color &RAY::Drawables::Drawables3D::ADrawable3D::getColor(void) const
{
return this->_color;
}
const RAY::Color &ADrawable3D::getColor(void) const
{
return this->_color;
}
RAY::Drawables::Drawables3D::ADrawable3D &RAY::Drawables::Drawables3D::ADrawable3D::setColor(const RAY::Color &color)
{
this->_color = color;
return *this;
}
ADrawable3D &ADrawable3D::setColor(const RAY::Color &color)
{
this->_color = color;
return *this;
}
const RAY::Vector3 &ADrawable3D::getPosition(void) const
{
return this->_position;
}
const RAY::Vector3 &RAY::Drawables::Drawables3D::ADrawable3D::getPosition(void) const
{
return this->_position;
}
RAY::Drawables::Drawables3D::ADrawable3D &RAY::Drawables::Drawables3D::ADrawable3D::setPosition(const RAY::Vector3 &position)
{
this->_position = position;
return *this;
ADrawable3D &ADrawable3D::setPosition(const RAY::Vector3 &position)
{
this->_position = position;
return *this;
}
}