summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-02-05 21:13:37 +0100
committerworktycho <work.tycho@gmail.com>2014-02-05 21:13:37 +0100
commit374fecf61f94e8df6bf60ea49df265dd19859bf7 (patch)
treeae31a7aa48076ddf569bfa88e46075449f096c3b /src
parentMerge branch 'master' into runMCServer (diff)
downloadcuberite-374fecf61f94e8df6bf60ea49df265dd19859bf7.tar
cuberite-374fecf61f94e8df6bf60ea49df265dd19859bf7.tar.gz
cuberite-374fecf61f94e8df6bf60ea49df265dd19859bf7.tar.bz2
cuberite-374fecf61f94e8df6bf60ea49df265dd19859bf7.tar.lz
cuberite-374fecf61f94e8df6bf60ea49df265dd19859bf7.tar.xz
cuberite-374fecf61f94e8df6bf60ea49df265dd19859bf7.tar.zst
cuberite-374fecf61f94e8df6bf60ea49df265dd19859bf7.zip
Diffstat (limited to 'src')
-rw-r--r--src/BoundingBox.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/BoundingBox.cpp b/src/BoundingBox.cpp
index 94a22465c..47b135688 100644
--- a/src/BoundingBox.cpp
+++ b/src/BoundingBox.cpp
@@ -1,4 +1,3 @@
-
// BoundingBox.cpp
// Implements the cBoundingBox class representing an axis-aligned bounding box with floatingpoint coords
@@ -42,7 +41,7 @@ public:
bool res = cBoundingBox::CalcLineIntersection(Min, Max, Line1, Line2, LineCoeff, Face);
if (res != Results[i])
{
- printf("LineIntersection({%.02f, %.02f, %.02f}, {%.02f, %.02f, %.02f}) -> %d, %.05f, %d\n",
+ fprintf(stderr,"LineIntersection({%.02f, %.02f, %.02f}, {%.02f, %.02f, %.02f}) -> %d, %.05f, %d\n",
Line1.x, Line1.y, Line1.z,
Line2.x, Line2.y, Line2.z,
res ? 1 : 0, LineCoeff, Face
@@ -53,7 +52,7 @@ public:
{
if (LineCoeff != LineCoeffs[i])
{
- printf("LineIntersection({%.02f, %.02f, %.02f}, {%.02f, %.02f, %.02f}) -> %d, %.05f, %d\n",
+ fprintf(stderr,"LineIntersection({%.02f, %.02f, %.02f}, {%.02f, %.02f, %.02f}) -> %d, %.05f, %d\n",
Line1.x, Line1.y, Line1.z,
Line2.x, Line2.y, Line2.z,
res ? 1 : 0, LineCoeff, Face
@@ -62,7 +61,7 @@ public:
}
}
} // for i - LineDefs[]
- printf("BoundingBox selftest complete.");
+ fprintf(stderr,"BoundingBox selftest complete.");
}
} Test;