Render in NDC
This commit is contained in:
parent
40a660b7cb
commit
05682dd2d5
16 changed files with 106 additions and 82 deletions
|
|
@ -15,11 +15,8 @@ import { Lamp } from './lamp';
|
|||
|
||||
export class Character extends GameObject {
|
||||
private keysDown: Set<string> = new Set();
|
||||
|
||||
private light = new Lamp(vec2.create(), 40, vec3.fromValues(0.67, 0.0, 0.33), 2);
|
||||
|
||||
private shape = new DrawableBlob(vec2.create());
|
||||
|
||||
private static speed = 1.5;
|
||||
|
||||
constructor(private game: IGame) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue