diff --git a/panda/src/linmath/lmatrix3_src.cxx b/panda/src/linmath/lmatrix3_src.cxx index ea14ea72e3..3b96af33b5 100644 --- a/panda/src/linmath/lmatrix3_src.cxx +++ b/panda/src/linmath/lmatrix3_src.cxx @@ -294,7 +294,7 @@ write(ostream &out, int indent_level) const { // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE_LINMATH void FLOATNAME(LMatrix3):: +void FLOATNAME(LMatrix3):: python_repr(ostream &out, const string &class_name) const { out << class_name << "(" << MAYBE_ZERO(_m.m._00) << ", " diff --git a/panda/src/linmath/lmatrix4_src.cxx b/panda/src/linmath/lmatrix4_src.cxx index 2c6027dbb6..6e0191cfc7 100644 --- a/panda/src/linmath/lmatrix4_src.cxx +++ b/panda/src/linmath/lmatrix4_src.cxx @@ -202,7 +202,7 @@ output(ostream &out) const { // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE_LINMATH void FLOATNAME(LMatrix4):: +void FLOATNAME(LMatrix4):: python_repr(ostream &out, const string &class_name) const { out << class_name << "(" << MAYBE_ZERO(_m.m._00) << ", "