changed camera-height
This commit is contained in:
parent
ffa45515c3
commit
2944d36703
@ -40,7 +40,7 @@ instance GLCamera Camera where
|
|||||||
getCam (Flat (x',z') y') dist' xa' ya' =
|
getCam (Flat (x',z') y') dist' xa' ya' =
|
||||||
lookAt (cpos ^+^ at') at' up
|
lookAt (cpos ^+^ at') at' up
|
||||||
where
|
where
|
||||||
at' = V3 x y z
|
at' = V3 x (y+2) z
|
||||||
cpos = crot !* (V3 0 0 (-dist))
|
cpos = crot !* (V3 0 0 (-dist))
|
||||||
crot = (
|
crot = (
|
||||||
(fromQuaternion $ axisAngle upmap (xa::CFloat))
|
(fromQuaternion $ axisAngle upmap (xa::CFloat))
|
||||||
|
Loading…
Reference in New Issue
Block a user