Core/Misc: update g3dlite lib (#2904)

* Core/Misc: update g3dlite lib

* update

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
Viste
2020-07-30 13:35:45 +03:00
committed by GitHub
parent 91bbbf08eb
commit fcaf91b8b2
183 changed files with 13258 additions and 8022 deletions

View File

@@ -46,4 +46,14 @@ std::string Vector3int16::toString() const {
return G3D::format("(%d, %d, %d)", x, y, z);
}
Vector3int16 Vector3int16::floor(const Vector3& v) {
return Vector3int16(iFloor(v.x), iFloor(v.y), iFloor(v.z));
}
Vector3int16 Vector3int16::ceil(const Vector3& v) {
return Vector3int16(iCeil(v.x), iCeil(v.y), iCeil(v.z));
}
}