Skip to content

Commit 6ccd64d

Browse files
committed
Fix ordering of methods relative to MAKE_SEQ
1 parent ac1c036 commit 6ccd64d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

panda/src/linmath/lmatrix3_src.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ class EXPCL_PANDA_LINMATH FLOATNAME(LMatrix3) {
7676
FLOATTYPE e10, FLOATTYPE e11, FLOATTYPE e12,
7777
FLOATTYPE e20, FLOATTYPE e21, FLOATTYPE e22);
7878

79+
INLINE_LINMATH CRow operator [](int i) const;
80+
INLINE_LINMATH Row operator [](int i);
81+
INLINE_LINMATH static int size();
82+
7983
INLINE_LINMATH void set_row(int row, const FLOATNAME(LVecBase3) &v);
8084
INLINE_LINMATH void set_col(int col, const FLOATNAME(LVecBase3) &v);
8185

@@ -99,10 +103,6 @@ class EXPCL_PANDA_LINMATH FLOATNAME(LMatrix3) {
99103
INLINE_LINMATH FLOATTYPE &operator () (int row, int col);
100104
INLINE_LINMATH FLOATTYPE operator () (int row, int col) const;
101105

102-
INLINE_LINMATH CRow operator [](int i) const;
103-
INLINE_LINMATH Row operator [](int i);
104-
INLINE_LINMATH static int size();
105-
106106
INLINE_LINMATH bool is_nan() const;
107107
INLINE_LINMATH bool is_identity() const;
108108

panda/src/linmath/lmatrix4_src.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ class EXPCL_PANDA_LINMATH ALIGN_LINMATH FLOATNAME(LMatrix4) {
8585
INLINE_LINMATH void set_upper_3(const FLOATNAME(LMatrix3) &upper3);
8686
INLINE_LINMATH FLOATNAME(LMatrix3) get_upper_3() const;
8787

88+
INLINE_LINMATH CRow operator [](int i) const;
89+
INLINE_LINMATH Row operator [](int i);
90+
INLINE_LINMATH static int size();
91+
8892
INLINE_LINMATH void set_row(int row, const FLOATNAME(LVecBase4) &v);
8993
INLINE_LINMATH void set_col(int col, const FLOATNAME(LVecBase4) &v);
9094

@@ -107,10 +111,6 @@ class EXPCL_PANDA_LINMATH ALIGN_LINMATH FLOATNAME(LMatrix4) {
107111
INLINE_LINMATH FLOATTYPE &operator () (int row, int col);
108112
INLINE_LINMATH FLOATTYPE operator () (int row, int col) const;
109113

110-
INLINE_LINMATH CRow operator [](int i) const;
111-
INLINE_LINMATH Row operator [](int i);
112-
INLINE_LINMATH static int size();
113-
114114
INLINE_LINMATH bool is_nan() const;
115115
INLINE_LINMATH bool is_identity() const;
116116

0 commit comments

Comments
 (0)