Modules/Math/private/Ray.cpp
2023-07-05 20:33:18 +03:00

9 lines
No EOL
146 B
C++

#include "Ray.hpp"
using namespace tp;
Ray::Ray(const Vec3F& aDir, const Vec3F& aPos) {
this->dir = aDir.unitV();
this->pos = aPos;
}