MCPcopy Create free account
hub / github.com/melonjs/melonJS / getRight

Method getRight

packages/melonjs/src/camera/camera3d.ts:277–280  ·  view source on GitHub ↗

* The camera's world-space right axis (unit). See Camera3d#getBasis. * @param out - vector to write into (returned) * @returns `out`

(out: Vector3d)

Source from the content-addressed store, hash-verified

275 * @returns `out`
276 */
277 getRight(out: Vector3d): Vector3d {
278 this.getBasis(out, _bScratchA, _bScratchB);
279 return out;
280 }
281
282 /**
283 * The camera's world-space up axis (unit). See {@link Camera3d#getBasis}.

Callers 1

_projectVerticesWorldMethod · 0.80

Calls 1

getBasisMethod · 0.95

Tested by

no test coverage detected