updated Makefile to use -O1 in CXXFLAGS instead of -O3; -O2 and above currently break the app
git-svn-id: svn://anubis/fart/trunk@61 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
ca3087eac5
commit
a52b456bfa
3 files changed
+3
-5
No files matched your search
+1
-2
@@ -38,9 +38,8 @@ Shape::IntersectList Sphere::intersect(const Ray & ray)
|
||||
|
||||
Vector Sphere::getNormalAt(const Vector & pt)
|
||||
{
|
||||
Vector pt_inv = m_inverse.transform_point(pt);
|
||||
Vector normal = m_inverse.transform_point(pt);
|
||||
|
||||
Vector normal = pt_inv;
|
||||
normal.normalize();
|
||||
|
||||
return m_transform.transform_normal(normal);
|
||||
|
||||
Reference in new issue
Block a user