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:
parent
f7067644a3
commit
0f5aae8b98
5 changed files with 10 additions and 10 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue