operator*#

inline Point3 operator*(float lhs, const Point3 &rhs)#

Scales a point by a scalar value (left-hand side scalar).

Parameters:
  • lhs[in] The scalar multiplier.

  • rhs[in] The point to scale.

Returns:

A new Point3 representing the scaled point.