jumpstorm/client/lib/interfaces/Vec2.ts

23 lines
286 B
TypeScript
Raw Normal View History

2023-07-19 23:38:24 -04:00
export interface Coord2D {
x: number;
y: number;
}
export interface Dimension2D {
width: number;
height: number;
}
export interface Velocity2D {
dx: number;
dy: number;
}
export interface Force2D {
fCartesian: {
fx: number;
fy: number;
};
torque: number;
}