Transform.opBinary

Overload of binary operator * to transform a point

This call is equivalent to calling transform.transformPoint(vector).

  1. Transform opBinary(Transform rhs)
  2. Vextor2f opBinary(Vector2f vector)
    struct Transform
    Vextor2f
    opBinary
    (
    string op
    )
    if (
    op == "*"
    )

Parameters

vector Vector2f

the point to transform

Return Value

Type: Vextor2f

New transformed point.

Meta