Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jan 28, 2024
1 parent 7b0fd36 commit b27db06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripting/V3d.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public slots:
//! Formats a comma-separated string in angle brackets
//! @todo currently this seems to to nothing. JS print output shows "V3d(address)". Use toVec3d() to show the values formatted by Vec3d's method.
Q_INVOKABLE QString toString() const {return QString("[%1, %2, %3]").arg(m_x).arg(m_y).arg(m_z);}
//! Formats a hex string
//! Formats a hex string usable as HTML color
Q_INVOKABLE QString toHex() const;
private:
double m_x, m_y, m_z;
Expand Down Expand Up @@ -122,7 +122,7 @@ public slots:
//! Formats a comma-separated string in angle brackets
//! @todo currently this seems to to nothing. JS print output shows "V3f(address)". Use toVec3f() to show the values formatted by Vec3f's method.
Q_INVOKABLE QString toString() const {return QString("[%1, %2, %3]").arg(m_x).arg(m_y).arg(m_z);}
//! Formats a hex string
//! Formats a hex string usable as HTML color
Q_INVOKABLE QString toHex() const;
private:
float m_x, m_y, m_z;
Expand Down

0 comments on commit b27db06

Please sign in to comment.