|
@@ -194,8 +194,8 @@ get_col2(int col) const {
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE FLOATTYPE &FLOATNAME(LMatrix3)::
|
|
INLINE FLOATTYPE &FLOATNAME(LMatrix3)::
|
|
|
operator () (int row, int col) {
|
|
operator () (int row, int col) {
|
|
|
- nassertr(row >= 0 && row < 3, _data[0]);
|
|
|
|
|
- nassertr(col >= 0 && col < 3, _data[0]);
|
|
|
|
|
|
|
+// nassertr(row >= 0 && row < 3, _data[0]);
|
|
|
|
|
+// nassertr(col >= 0 && col < 3, _data[0]);
|
|
|
return _data[row * 3 + col];
|
|
return _data[row * 3 + col];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -206,8 +206,8 @@ operator () (int row, int col) {
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE FLOATTYPE FLOATNAME(LMatrix3)::
|
|
INLINE FLOATTYPE FLOATNAME(LMatrix3)::
|
|
|
operator () (int row, int col) const {
|
|
operator () (int row, int col) const {
|
|
|
- nassertr(row >= 0 && row < 3, 0.0);
|
|
|
|
|
- nassertr(col >= 0 && col < 3, 0.0);
|
|
|
|
|
|
|
+// nassertr(row >= 0 && row < 3, 0.0);
|
|
|
|
|
+// nassertr(col >= 0 && col < 3, 0.0);
|
|
|
return _data[row * 3 + col];
|
|
return _data[row * 3 + col];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -232,8 +232,8 @@ is_nan() const {
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE FLOATTYPE FLOATNAME(LMatrix3)::
|
|
INLINE FLOATTYPE FLOATNAME(LMatrix3)::
|
|
|
get_cell(int row, int col) const {
|
|
get_cell(int row, int col) const {
|
|
|
- nassertr(row >= 0 && row < 3, 0.0);
|
|
|
|
|
- nassertr(col >= 0 && col < 3, 0.0);
|
|
|
|
|
|
|
+// nassertr(row >= 0 && row < 3, 0.0);
|
|
|
|
|
+// nassertr(col >= 0 && col < 3, 0.0);
|
|
|
return _data[row * 3 + col];
|
|
return _data[row * 3 + col];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -244,8 +244,8 @@ get_cell(int row, int col) const {
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
INLINE void FLOATNAME(LMatrix3)::
|
|
INLINE void FLOATNAME(LMatrix3)::
|
|
|
set_cell(int row, int col, FLOATTYPE value) {
|
|
set_cell(int row, int col, FLOATTYPE value) {
|
|
|
- nassertv(row >= 0 && row < 3);
|
|
|
|
|
- nassertv(col >= 0 && col < 3);
|
|
|
|
|
|
|
+// nassertv(row >= 0 && row < 3);
|
|
|
|
|
+// nassertv(col >= 0 && col < 3);
|
|
|
_data[row * 3 + col] = value;
|
|
_data[row * 3 + col] = value;
|
|
|
}
|
|
}
|
|
|
|
|
|