Example #1
0
 private Vec3 getLookVector() {
   Vec3 vec =
       Vec3.fromAngles((float) Math.toRadians(pitch), (float) Math.toRadians(yaw)).scale(speed);
   return vec;
 }