mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
parent
a37dfa727e
commit
287b0d5a74
@ -158,3 +158,17 @@ void FLOATNAME(LPlane)::
|
|||||||
write(std::ostream &out, int indent_level) const {
|
write(std::ostream &out, int indent_level) const {
|
||||||
indent(out, indent_level) << *this << "\n";
|
indent(out, indent_level) << *this << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a string representation of this LPlane.
|
||||||
|
*/
|
||||||
|
std::string FLOATNAME(LPlane)::
|
||||||
|
__repr__() const {
|
||||||
|
std::ostringstream out;
|
||||||
|
out << "LPlane" << FLOATTOKEN << "("
|
||||||
|
<< MAYBE_ZERO(_v(0)) << ", "
|
||||||
|
<< MAYBE_ZERO(_v(1)) << ", "
|
||||||
|
<< MAYBE_ZERO(_v(2)) << ", "
|
||||||
|
<< MAYBE_ZERO(_v(3)) << ")";
|
||||||
|
return out.str();
|
||||||
|
}
|
||||||
|
@ -61,6 +61,7 @@ PUBLISHED:
|
|||||||
|
|
||||||
void output(std::ostream &out) const;
|
void output(std::ostream &out) const;
|
||||||
void write(std::ostream &out, int indent_level = 0) const;
|
void write(std::ostream &out, int indent_level = 0) const;
|
||||||
|
std::string __repr__() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
INLINE_MATHUTIL std::ostream &
|
INLINE_MATHUTIL std::ostream &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user