Button peut maintenant prendre les inputs du clavier même s'il n'y a pas de manette branchée !
This commit is contained in:
@ -31,7 +31,7 @@ public class TrackingTore implements TrackingDummy {
|
||||
float xPos = this.engine.getViewXPos();
|
||||
float dimension = this.engine.getCamera().getDimension();
|
||||
float distance = Math.abs(left.getXPos() - right.getXPos()) + right.getWidth() * right.getScalingFactor();
|
||||
float middle_point = (left.getXPos() + right.getXPos() + right.getWidth() * right.getScalingFactor()) / 2;
|
||||
float middle_point = (left.getXPos() + right.getXPos() + right.getWidth() * right.getScalingFactor()) / 2;
|
||||
|
||||
if (left.getXPos() < xPos - rayonExt){
|
||||
// Il faut décaler à gauche + dezoom
|
||||
|
Reference in New Issue
Block a user