Make physics more fun
This commit is contained in:
parent
155e360c8e
commit
89fafeafd3
41 changed files with 511 additions and 334 deletions
3
shared/src/helper/rotate-minus-90-deg.ts
Normal file
3
shared/src/helper/rotate-minus-90-deg.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
|
||||
export const rotateMinus90Deg = (vec: vec2): vec2 => vec2.fromValues(vec.y, -vec.x);
|
||||
Loading…
Add table
Add a link
Reference in a new issue