summaryrefslogtreecommitdiff
path: root/src/primitives.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-25 02:11:12 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-25 02:11:12 (GMT)
commiteff1f7f8c91cee34c584a89c5d09e401c609f93e (patch)
tree543ae3bd3587dd3a97fbaa660ad9aaceb5a3823f /src/primitives.cc
parent16c05eb533f94799a80f5b98c01e952e1cfe337b (diff)
Ported printutils away from Qt
Diffstat (limited to 'src/primitives.cc')
-rw-r--r--src/primitives.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/primitives.cc b/src/primitives.cc
index 466a0c7..feaa1a4 100644
--- a/src/primitives.cc
+++ b/src/primitives.cc
@@ -148,11 +148,11 @@ AbstractNode *PrimitiveModule::evaluate(const Context *ctx, const ModuleInstanti
node->fa = c.lookup_variable("$fa").num;
if (node->fs < F_MINIMUM) {
- PRINTF("WARNING: $fs too small - clamping to %f", F_MINIMUM);
+ PRINTB("WARNING: $fs too small - clamping to %f", F_MINIMUM);
node->fs = F_MINIMUM;
}
if (node->fa < F_MINIMUM) {
- PRINTF("WARNING: $fa too small - clamping to %f", F_MINIMUM);
+ PRINTB("WARNING: $fa too small - clamping to %f", F_MINIMUM);
node->fa = F_MINIMUM;
}
@@ -505,7 +505,7 @@ sphere_next_r2:
for (size_t i=0; i<this->points.vec.size(); i++) {
double x,y;
if (!this->points.vec[i]->getv2(x, y)) {
- PRINTF("ERROR: Unable to convert point at index %d to a vec2 of numbers", int(i));
+ PRINTB("ERROR: Unable to convert point at index %d to a vec2 of numbers", i);
delete p;
return NULL;
}
contact: Jan Huwald // Impressum