jumpstorm/engine/interfaces/Vec2.ts

26 lines
329 B
TypeScript

export interface Coord2D {
x: number;
y: number;
}
export interface Dimension2D {
width: number;
height: number;
}
export interface Velocity2D {
dCartesian: {
dx: number;
dy: number;
};
dTheta: number;
}
export interface Force2D {
fCartesian: {
fx: number;
fy: number;
};
torque: number;
}