mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
fix implicit typing
This commit is contained in:
6
vec3/vec3.d.ts
vendored
6
vec3/vec3.d.ts
vendored
@@ -3,14 +3,14 @@
|
||||
// Definitions by: Xavier Stouder <https://github.com/xstoudi/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "vec3"{
|
||||
class Vec3{
|
||||
declare module "vec3" {
|
||||
class Vec3 {
|
||||
constructor(x: number, y: number, z: number);
|
||||
constructor(location: number[]);
|
||||
constructor(location: {x: number; y: number; z: number});
|
||||
constructor(locationStr: string);
|
||||
|
||||
set(x, y, z): Vec3;
|
||||
set(x: number, y: number, z: number): Vec3;
|
||||
update(other: Vec3): Vec3;
|
||||
floored(): Vec3;
|
||||
floor(): Vec3;
|
||||
|
||||
Reference in New Issue
Block a user