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 gfx.Mesh3{
private static baseMesh: gfx.Mesh3;
public startTime: number;
public duration: number;
public magnitude: number;
public mapPosition: gfx.Vector3;
public globePosition: gfx.Vector3;
constructor(mapPosition: gfx.Vector3, globePosition: gfx.Vector3, record: EarthquakeRecord, duration: number){
// Call the superclass constructor
super();
// If the static base mesh has not yet been created, then initialize it
if (EarthquakeMarker.baseMesh == 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!