dist/claygl.es.js
function (plane) {
        // Distance to plane
        var d = vec3.dot(plane.normal.array, this.direction.array);
        vec3.scaleAndAdd(this.direction.array, this.direction.array, plane.normal.array, -d * 2);
        this.direction._dirty = true;
    }
function (plane) {
        // Distance to plane
        var d = vec3.dot(plane.normal.array, this.direction.array);
        vec3.scaleAndAdd(this.direction.array, this.direction.array, plane.normal.array, -d * 2);
        this.direction._dirty = true;
    }
function ( plane ) { // Distance to plane var d = vec3 . dot ( plane . normal . array , this . direction . array ) ; vec3 . scaleAndAdd ( this . direction . array , this . direction . array , plane . normal . array , - d * 2 ) ; this . direction . _dirty = true ; }
Mirror the ray against plane
@param  {clay.Plane} plane
Mirror the ray against plane