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

Method set

packages/core/src/PointOfView.ts:55–63  ·  view source on GitHub ↗
(distance: number, heading: number, pitch: number, roll?: number)

Source from the content-addressed store, hash-verified

53 }
54
55 set(distance: number, heading: number, pitch: number, roll?: number): this {
56 this.distance = distance
57 this.heading = heading
58 this.pitch = pitch
59 if (roll != null) {
60 this.roll = roll
61 }
62 return this
63 }
64
65 clone(): PointOfView {
66 return new PointOfView(this.distance, this.heading, this.pitch, this.roll)

Callers 1

setFromCameraMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected