2016-03-04 15:03:26 -08:00
|
|
|
#include "zeus/CVector4f.hpp"
|
|
|
|
#include "zeus/CColor.hpp"
|
2015-05-06 00:05:06 -07:00
|
|
|
|
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) {}
|
2015-11-25 17:42:24 -08:00
|
|
|
|
2018-12-07 17:16:50 -08:00
|
|
|
CVector4f& CVector4f::operator=(const CColor& other) {
|
|
|
|
mSimd = other.mSimd;
|
|
|
|
return *this;
|
2015-11-25 17:42:24 -08:00
|
|
|
}
|
2018-12-07 21:23:50 -08:00
|
|
|
} // namespace zeus
|