Changeset 204

Show
Ignore:
Timestamp:
11/07/07 12:52:39 (1 year ago)
Author:
LeoD
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/jobs/defend/game/Game.d

    r203 r204  
    202202 
    203203        // 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), 
    205205                                            Mat4f.projection(1, Integer.toInt(Config["fov"]), 1, 100)); 
    206206 
     
    443443                    pos.z += 4; 
    444444                     
    445                     miniScreenCamera.position = pos; //* -1; 
     445                    miniScreenCamera.position = pos; 
    446446                    miniScreenCamera.rotation = Vec3f(-0.9, 0.0, 0); 
    447447                } 
  • branches/jobs/defend/game/Mouse.d

    r203 r204  
    443443            const int BORDER_SIZE = 1; 
    444444             
    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) 
    447447               continue; 
    448448