Changeset 204
- Timestamp:
- 11/07/07 12:52:39 (1 year ago)
- Files:
-
- branches/jobs/defend/game/Game.d (modified) (2 diffs)
- branches/jobs/defend/game/Mouse.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/jobs/defend/game/Game.d
r203 r204 202 202 203 203 // A static camera 204 miniScreenCamera = new StaticCamera(Vec3f(0, 20, 0), Vec3f(0),204 miniScreenCamera = new StaticCamera(Vec3f(0, 0, 0), Vec3f(1, 0, 0), 205 205 Mat4f.projection(1, Integer.toInt(Config["fov"]), 1, 100)); 206 206 … … 443 443 pos.z += 4; 444 444 445 miniScreenCamera.position = pos; //* -1;445 miniScreenCamera.position = pos; 446 446 miniScreenCamera.rotation = Vec3f(-0.9, 0.0, 0); 447 447 } branches/jobs/defend/game/Mouse.d
r203 r204 443 443 const int BORDER_SIZE = 1; 444 444 445 if(obj.screenPos.x < 0 || obj.screenPos.y < 0 || 446 obj.screenPos. x > renderer.width || obj.screenPos.y - BAR_HEIGHT > renderer.height - HUD_HEIGHT)445 if(obj.screenPos.x < 0 || obj.screenPos.y < 0 || obj.screenPos.x > renderer.width || 446 obj.screenPos.y - BAR_HEIGHT > renderer.height - HUD_HEIGHT) 447 447 continue; 448 448
