Commit 58509f80 authored by Mike Kremer's avatar Mike Kremer
Browse files

Removed homogeneous coordinate of direction vector.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8952 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ff9b6d1c
......@@ -104,7 +104,7 @@ void LightSource::direction( Vec3d _pos) {
}
Vec3d LightSource::direction() {
return Vec3d(position_[0], position_[1], position_[2], 0.0);
return Vec3d(position_[0], position_[1], position_[2]);
}
bool LightSource::directional() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment