MCPcopy Create free account
hub / github.com/beutton/browser-flight-simulator / constructor

Method constructor

packages/core/src/PointOfView.ts:32–37  ·  view source on GitHub ↗
(distance = 0, heading = 0, pitch = 0, roll = 0)

Source from the content-addressed store, hash-verified

30 roll: number
31
32 constructor(distance = 0, heading = 0, pitch = 0, roll = 0) {
33 this.distance = distance
34 this.heading = heading
35 this.pitch = pitch
36 this.roll = roll
37 }
38
39 get distance(): number {
40 return this._distance

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected