|
|
@ -232,16 +232,16 @@
|
|
232
|
232
|
}
|
|
233
|
233
|
|
|
234
|
234
|
if (isPressed(37) || isPressed(65)) { // left || a
|
|
235
|
|
trixl.camera.sideways(-0.05);
|
|
|
235
|
trixl.camera.sideways(-0.1);
|
|
236
|
236
|
}
|
|
237
|
237
|
if (isPressed(38) || isPressed(87)) { // up || w
|
|
238
|
|
trixl.camera.forward(-0.05);
|
|
|
238
|
trixl.camera.forward(-0.1);
|
|
239
|
239
|
}
|
|
240
|
240
|
if (isPressed(39) || isPressed(68)) { // right || d
|
|
241
|
|
trixl.camera.sideways(0.05);
|
|
|
241
|
trixl.camera.sideways(0.1);
|
|
242
|
242
|
}
|
|
243
|
243
|
if (isPressed(40) || isPressed(83)) { // down || s
|
|
244
|
|
trixl.camera.forward(0.05);
|
|
|
244
|
trixl.camera.forward(0.1);
|
|
245
|
245
|
}
|
|
246
|
246
|
});
|
|
247
|
247
|
|