OSDN Git Service
(root)
/
mmo
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b97cb2e
)
太陽の位置
author
angeart
<angeart@git.sourceforge.jp>
Sat, 20 Oct 2012 03:37:38 +0000
(12:37 +0900)
committer
angeart
<angeart@git.sourceforge.jp>
Sat, 20 Oct 2012 03:37:38 +0000
(12:37 +0900)
client/3d/gameloop.cpp
patch
|
blob
|
history
diff --git
a/client/3d/gameloop.cpp
b/client/3d/gameloop.cpp
index
38da6f3
..
aaf7f51
100644
(file)
--- a/
client/3d/gameloop.cpp
+++ b/
client/3d/gameloop.cpp
@@
-382,8
+382,8
@@
void LightStatus::Calc()
light_distance_ = 100;
- VectorRotationX(&light_pos_,&VGet(0,0,
-light_distance_),altitude
);
- VectorRotationY(&light_pos_,&light_pos_,
-direction
);
+ VectorRotationX(&light_pos_,&VGet(0,0,
light_distance_),TORADIAN(altitude)
);
+ VectorRotationY(&light_pos_,&light_pos_,
TORADIAN(-direction)
);
SetGrobalAmbientColorMatchToTime();
}