zeus/src/CVector4f.cpp

14 lines
320 B
C++
Raw Normal View History

2016-03-04 15:03:26 -08:00
#include "zeus/CVector4f.hpp"
#include "zeus/CColor.hpp"
2018-12-07 17:16:50 -08:00
namespace zeus {
2017-03-17 16:30:14 -07:00
const CVector4f CVector4f::skZero(0.f, 0.f, 0.f, 0.f);
2018-12-07 17:16:50 -08:00
CVector4f::CVector4f(const zeus::CColor& other) : mSimd(other.mSimd) {}
2018-12-07 17:16:50 -08:00
CVector4f& CVector4f::operator=(const CColor& other) {
mSimd = other.mSimd;
return *this;
}
2018-12-07 21:23:50 -08:00
} // namespace zeus