16 lines
478 B
Text
16 lines
478 B
Text
$NetBSD: patch-ab,v 1.2 2006/06/11 12:56:19 joerg Exp $
|
|
|
|
SunPro cannot resolve the overloading conflict between sqrt(double) and
|
|
sqrt(long double) when provided with an integer.
|
|
|
|
--- src/SpielfeldAufbau.cpp.orig 2006-05-18 20:07:27.187451459 +0200
|
|
+++ src/SpielfeldAufbau.cpp 2006-05-18 20:06:35.247252233 +0200
|
|
@@ -26,7 +26,7 @@
|
|
|
|
GLfloat r=5.715;
|
|
GLfloat a=r+3*Epsilon;
|
|
- GLfloat asw3=a*sqrt(3)/6;
|
|
+ GLfloat asw3=a*sqrt(3.0)/6;
|
|
|
|
srand(Zeit());
|
|
|