Commit 702eb7c7 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen

Merge branch 'develop' of https://git.rwth-aachen.de/ita/VABase into develop

parents cc8a491a af53efdd
......@@ -217,6 +217,22 @@ inline VABASE_API VAVec3 operator*( const VAVec3& oVec, const double dScalar )
return vScaledVector;
};
//!< Scalar division operator for vectors
/**
* @param[in] oVec Vector
* @param[in] dScalar Scalar
*
* @return Scaled vector
*/
inline VABASE_API VAVec3 operator/(const VAVec3& oVec, const double dScalar)
{
VAVec3 vScaledVector = oVec;
vScaledVector.x /= dScalar;
vScaledVector.y /= dScalar;
vScaledVector.z /= dScalar;
return vScaledVector;
};
//! Stream output operator for VAVec3
/**
* Output format: "< x, y, z >"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment