617618619620621622623624625626627
if (v == null) { v = new Vector3f(0, 0, 1); } else { v.set(0, 0, 1); } rot.multLocal(v); v.normalizeLocal(); return v; } /**
201202203204205206207208209210211
} tilt = tilt.fromAngleAxis(yrot,left); pan = pan.fromAngleAxis(xrot, Vector3f.UNIT_Z); pan.multLocal(tilt); camerapivot.setLocalRotation(pan); cameraOrbit.update(); } }