1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

improve some things

This commit is contained in:
Lars Mueller 2025-05-30 16:39:23 +02:00
parent f7067644a3
commit 0f5aae8b98
5 changed files with 10 additions and 10 deletions

View file

@ -1661,7 +1661,7 @@ inline void CMatrix4<T>::getTransposed(CMatrix4<T> &o) const
}
template <class T>
std::ostream& operator<<(std::ostream& os, const CMatrix4<T>& matrix)
inline std::ostream& operator<<(std::ostream& os, const CMatrix4<T>& matrix)
{
os << "(\n";
for (int row = 0; row < 4; ++row) {

View file

@ -217,7 +217,7 @@ public:
f32 W; // real part
};
std::ostream& operator<<(std::ostream& os, const quaternion& q)
inline std::ostream& operator<<(std::ostream& os, const quaternion& q)
{
os << q.X << "\t" << q.Y << "\t" << q.Z << "\t" << q.W;
return os;