2020-07-23 11:00:46 +08:00
|
|
|
module es {
|
|
|
|
|
export class Vector3 {
|
|
|
|
|
public x: number;
|
|
|
|
|
public y: number;
|
|
|
|
|
public z: number;
|
2020-06-29 15:41:02 +08:00
|
|
|
|
2020-07-28 16:25:20 +08:00
|
|
|
constructor(x: number, y: number, z: number) {
|
2020-07-23 11:00:46 +08:00
|
|
|
this.x = x;
|
|
|
|
|
this.y = y;
|
|
|
|
|
this.z = z;
|
|
|
|
|
}
|
2020-06-29 15:41:02 +08:00
|
|
|
}
|
2020-07-23 11:00:46 +08:00
|
|
|
}
|