summary refs log tree commit diff
path: root/src/Models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Models.cpp')
-rw-r--r--src/Models.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Models.cpp b/src/Models.cpp
index 8caefd8..b4fbb82 100644
--- a/src/Models.cpp
+++ b/src/Models.cpp
@@ -59,7 +59,7 @@ void Model::UpdateVertexArray(){
 	for(int i=0;i<vertexNum;i++){
 		if(findDistancefast(average,vertex[i])>boundingsphereradius)boundingsphereradius=findDistancefast(average,vertex[i]);
 	}
-	boundingsphereradius=fast_sqrt(boundingsphereradius);
+	boundingsphereradius=sqrt(boundingsphereradius);
 }
 
 bool Model::load(Str255 Name)
@@ -99,7 +99,7 @@ bool Model::load(Str255 Name)
 	for(int i=0;i<vertexNum;i++){
 		if(findDistancefast(average,vertex[i])>boundingsphereradius)boundingsphereradius=findDistancefast(average,vertex[i]);
 	}
-	boundingsphereradius=fast_sqrt(boundingsphereradius);
+	boundingsphereradius=sqrt(boundingsphereradius);
 	
 	return 1;
 }