Question: import * as gfx from 'gophergfx'; import { EarthquakeRecord } from ' . / EarthquakeRecord ' ; export class EarthquakeMarker extends gfx . Mesh 3
import as gfx from 'gophergfx';
import EarthquakeRecord from EarthquakeRecord;
export class EarthquakeMarker extends gfxMesh
private static baseMesh: gfxMesh;
public startTime: number;
public duration: number;
public magnitude: number;
public mapPosition: gfxVector;
public globePosition: gfxVector;
constructormapPosition: gfxVector globePosition: gfxVector record: EarthquakeRecord, duration: number
Call the superclass constructor
super;
If the static base mesh has not yet been created, then initialize it
if EarthquakeMarkerbaseMesh undefined
By default, the earthquake markers are instances of a sphere mesh.
You are free to leav
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
