mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 22:56:24 +00:00
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:
10
deps/g3dlite/source/Vector3int16.cpp
vendored
10
deps/g3dlite/source/Vector3int16.cpp
vendored
@@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user