mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-22 22:35:12 +00:00
28 lines
347 B
C++
28 lines
347 B
C++
/*
|
|
** EPITECH PROJECT, 2021
|
|
** Bomberman
|
|
** File description:
|
|
** Vector3
|
|
*/
|
|
|
|
#include "Vector/Vector3.hpp"
|
|
|
|
RAY::Vector3::Vector3(float X, float Y, float Z):
|
|
x(X), y(Y), z(Z)
|
|
{
|
|
}
|
|
|
|
RAY::Vector3::Vector3():
|
|
x(0), y(0), z(0)
|
|
{
|
|
}
|
|
|
|
RAY::Vector3::operator ::Vector3() const
|
|
{
|
|
::Vector3 v;
|
|
|
|
v.x = this->x;
|
|
v.y = this->y;
|
|
v.z = this->z;
|
|
return v;
|
|
} |