working camera support
This commit is contained in:
@ -48,7 +48,7 @@ class Ball
|
||||
}
|
||||
else if(ctx instanceof WebGLRenderingContext)
|
||||
{
|
||||
renderCube(ctx, this.position_x, 0, this.position_y, 0, this.game.config.ball_size, this.game.config.ball_size, this.game.config.ball_size);
|
||||
renderCube(ctx, this.position_x / 1000, 0, this.position_y / 1000, 0, this.game.config.ball_size, this.game.config.ball_size, this.game.config.ball_size);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user