14 lines
276 B
TypeScript
14 lines
276 B
TypeScript
module es {
|
|
export class Vector3 {
|
|
public x: number;
|
|
public y: number;
|
|
public z: number;
|
|
|
|
constructor(x: number, y: number, z: number) {
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = z;
|
|
}
|
|
}
|
|
}
|