summaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-06-17 18:06:39 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-06-17 18:17:21 +0200
commit366d3a551ef3541f6eeb226f80a16b8de8fdd2e9 (patch)
tree191548d0cdf98740db0f6fa0eeb9e700d11450cf /src/math
parent868b5927064aba1ca72bd403446f9ff84c99c29b (diff)
downloadcolobot-366d3a551ef3541f6eeb226f80a16b8de8fdd2e9.tar.gz
colobot-366d3a551ef3541f6eeb226f80a16b8de8fdd2e9.tar.bz2
colobot-366d3a551ef3541f6eeb226f80a16b8de8fdd2e9.zip
Added debug aids for lighting
* displaying positions of current lights (F11) * dumping info to console (F10) * added assert() in suspicious place in CPyro
Diffstat (limited to 'src/math')
-rw-r--r--src/math/matrix.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/math/matrix.h b/src/math/matrix.h
index a13f823..f139517 100644
--- a/src/math/matrix.h
+++ b/src/math/matrix.h
@@ -97,8 +97,8 @@ struct Matrix
//! Sets value in given row and col
/**
- * \param row row (0 to 3)
- * \param col column (0 to 3)
+ * \param row row (1 to 4)
+ * \param col column (1 to 4)
* \param value value
*/
inline void Set(int row, int col, float value)
@@ -108,8 +108,8 @@ struct Matrix
//! Returns the value in given row and col
/**
- * \param row row (0 to 3)
- * \param col column (0 to 3)
+ * \param row row (1 to 4)
+ * \param col column (1 to 4)
* \returns value
*/
inline float Get(int row, int col)