Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2008-10-03 17:16:10 +0400
committerKent Mein <mein@cs.umn.edu>2008-10-03 17:16:10 +0400
commit0eaccf881b4b23ebbf8f51ef679cab0c0e97094a (patch)
treeb0957273c51aa6aa011ea0e325b8ceb9498fbc75 /intern
parent59dbf08253adf987870c279eff442527606f7174 (diff)
Solaris was having problems with sqrtf and friends again.
I changed sqrtf to sqrt in elbeem in bullet2 I added defines found in floatpatch.h eventually we should make a "floatpatch.h" that all of blender can use. Kent
Diffstat (limited to 'intern')
-rw-r--r--intern/elbeem/intern/mvmcoords.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/elbeem/intern/mvmcoords.cpp b/intern/elbeem/intern/mvmcoords.cpp
index ac954b956d0..03f6482ae84 100644
--- a/intern/elbeem/intern/mvmcoords.cpp
+++ b/intern/elbeem/intern/mvmcoords.cpp
@@ -98,9 +98,9 @@ void MeanValueMeshCoords::computeWeights(vector<ntlVec3Gfx> &reference_vertices,
if(mvmFullDebug) errMsg("MeanValueMeshCoords::computeWeights","c="<<c<<" phi="<<phi<<" d="<<d);
//if (c[0] > 1. || c[0] < 0. || c[1] > 1. || c[1] < 0. || c[2] > 1. || c[2] < 0.) continue;
- s[0] = sqrtf((float)(1.-c[0]*c[0]));
- s[1] = sqrtf((float)(1.-c[1]*c[1]));
- s[2] = sqrtf((float)(1.-c[2]*c[2]));
+ s[0] = sqrt((float)(1.-c[0]*c[0]));
+ s[1] = sqrt((float)(1.-c[1]*c[1]));
+ s[2] = sqrt((float)(1.-c[2]*c[2]));
if(mvmFullDebug) errMsg("MeanValueMeshCoords::computeWeights","s");
if (s[0] <= cEPS || s[1] <= cEPS || s[2] <= cEPS) {