mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix compiler warnings
This commit is contained in:
parent
f086784b4f
commit
26d832b486
@ -62,7 +62,7 @@ __setitem__(int i, FLOATTYPE v) {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 3: the number of columns of a LMatrix3.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LMatrix3)::Row::
|
||||
INLINE_LINMATH int FLOATNAME(LMatrix3)::Row::
|
||||
size() {
|
||||
return 3;
|
||||
}
|
||||
@ -92,7 +92,7 @@ operator [](int i) const {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 3: the number of columns of a LMatrix3.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LMatrix3)::CRow::
|
||||
INLINE_LINMATH int FLOATNAME(LMatrix3)::CRow::
|
||||
size() {
|
||||
return 3;
|
||||
}
|
||||
@ -347,7 +347,7 @@ operator [](int i) {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 3: the number of rows of a LMatrix3.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LMatrix3)::
|
||||
INLINE_LINMATH int FLOATNAME(LMatrix3)::
|
||||
size() {
|
||||
return 3;
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ PUBLISHED:
|
||||
#ifdef HAVE_PYTHON
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
#endif
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
private:
|
||||
FLOATTYPE *_row;
|
||||
friend class FLOATNAME(LMatrix3);
|
||||
@ -48,7 +48,7 @@ PUBLISHED:
|
||||
INLINE_LINMATH CRow(const FLOATTYPE *row);
|
||||
PUBLISHED:
|
||||
INLINE_LINMATH FLOATTYPE operator [](int i) const;
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
private:
|
||||
const FLOATTYPE *_row;
|
||||
friend class FLOATNAME(LMatrix3);
|
||||
@ -96,7 +96,7 @@ PUBLISHED:
|
||||
|
||||
INLINE_LINMATH CRow operator [](int i) const;
|
||||
INLINE_LINMATH Row operator [](int i);
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
|
||||
INLINE_LINMATH bool is_nan() const;
|
||||
|
||||
|
@ -62,7 +62,7 @@ __setitem__(int i, FLOATTYPE v) {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 4: the number of columns of a LMatrix4.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LMatrix4)::Row::
|
||||
INLINE_LINMATH int FLOATNAME(LMatrix4)::Row::
|
||||
size() {
|
||||
return 4;
|
||||
}
|
||||
@ -92,7 +92,7 @@ operator [](int i) const {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 4: the number of columns of a LMatrix4.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LMatrix4)::CRow::
|
||||
INLINE_LINMATH int FLOATNAME(LMatrix4)::CRow::
|
||||
size() {
|
||||
return 4;
|
||||
}
|
||||
@ -525,7 +525,7 @@ operator [](int i) {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 4: the number of rows of a LMatrix4.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LMatrix4)::
|
||||
INLINE_LINMATH int FLOATNAME(LMatrix4)::
|
||||
size() {
|
||||
return 4;
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ PUBLISHED:
|
||||
#ifdef HAVE_PYTHON
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
#endif
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
private:
|
||||
FLOATTYPE *_row;
|
||||
friend class FLOATNAME(LMatrix4);
|
||||
@ -43,7 +43,7 @@ PUBLISHED:
|
||||
INLINE_LINMATH CRow(const FLOATTYPE *row);
|
||||
PUBLISHED:
|
||||
INLINE_LINMATH FLOATTYPE operator [](int i) const;
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
private:
|
||||
const FLOATTYPE *_row;
|
||||
friend class FLOATNAME(LMatrix4);
|
||||
@ -99,7 +99,7 @@ PUBLISHED:
|
||||
|
||||
INLINE_LINMATH CRow operator [](int i) const;
|
||||
INLINE_LINMATH Row operator [](int i);
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
|
||||
INLINE_LINMATH bool is_nan() const;
|
||||
|
||||
|
@ -162,7 +162,7 @@ __setitem__(int i, FLOATTYPE v) {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 2: the number of components of a LVecBase2.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LVecBase2)::
|
||||
INLINE_LINMATH int FLOATNAME(LVecBase2)::
|
||||
size() {
|
||||
return 2;
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ PUBLISHED:
|
||||
#ifdef HAVE_PYTHON
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
#endif
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
|
||||
INLINE_LINMATH bool is_nan() const;
|
||||
|
||||
|
@ -174,7 +174,7 @@ __setitem__(int i, FLOATTYPE v) {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 3: the number of components of a LVecBase3.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LVecBase3)::
|
||||
INLINE_LINMATH int FLOATNAME(LVecBase3)::
|
||||
size() {
|
||||
return 3;
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ PUBLISHED:
|
||||
#ifdef HAVE_PYTHON
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
#endif
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
|
||||
INLINE_LINMATH bool is_nan() const;
|
||||
|
||||
|
@ -188,7 +188,7 @@ __setitem__(int i, FLOATTYPE v) {
|
||||
// Access: Public, Static
|
||||
// Description: Returns 4: the number of components of a LVecBase4.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE_LINMATH size_t FLOATNAME(LVecBase4)::
|
||||
INLINE_LINMATH int FLOATNAME(LVecBase4)::
|
||||
size() {
|
||||
return 4;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ PUBLISHED:
|
||||
#ifdef HAVE_PYTHON
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
#endif
|
||||
INLINE_LINMATH static size_t size();
|
||||
INLINE_LINMATH static int size();
|
||||
|
||||
INLINE_LINMATH bool is_nan() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user