reflect method

void reflect(
  1. Vector3 normal
)
inherited

Reflect this.

Implementation

void reflect(Vector3 normal) {
  sub(normal.scaled(2.0 * normal.dot(this)));
}