mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Revert "DEBUGGERY"
This reverts commit e1becd8a390bbb2396808559bb3ab00917a28322.
This commit is contained in:
parent
9b87f4d294
commit
15da2d3d25
3 changed files with 1 additions and 22 deletions
|
@ -13,7 +13,6 @@
|
|||
#include "rect.h"
|
||||
#include <cassert>
|
||||
#include "IrrCompileConfig.h" // for IRRLICHT_API
|
||||
#include <ostream>
|
||||
|
||||
namespace irr
|
||||
{
|
||||
|
@ -89,20 +88,6 @@ public:
|
|||
{
|
||||
return M[index];
|
||||
}
|
||||
//! Debug print the matrix
|
||||
friend std::ostream& operator<<(std::ostream& os, const CMatrix4<T>& matrix)
|
||||
{
|
||||
os << "Matrix4:" << std::endl;
|
||||
for (int row = 0; row < 4; ++row)
|
||||
{
|
||||
for (int col = 0; col < 4; ++col)
|
||||
{
|
||||
os << matrix(row, col) << " ";
|
||||
}
|
||||
os << std::endl;
|
||||
}
|
||||
return os;
|
||||
}
|
||||
|
||||
//! Simple operator for linearly accessing every element of the matrix.
|
||||
const T &operator[](u32 index) const { return M[index]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue