summaryrefslogtreecommitdiff
path: root/tests/csgtestcore.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2011-11-05 18:17:06 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2011-11-05 18:17:06 (GMT)
commit273672c418e4ff2400a9cbc1dacb510a2452b734 (patch)
tree68d4cba8d98064482c1cdf68b514351468864b34 /tests/csgtestcore.cc
parent88b8080f30d6ca1a9a74b8005a7408d4066f481b (diff)
parentd14a24a2b63d7d3815e02a79ef9dacd76cd01f4d (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tests/csgtestcore.cc')
-rw-r--r--tests/csgtestcore.cc16
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc
index 2390f06..8460a59 100644
--- a/tests/csgtestcore.cc
+++ b/tests/csgtestcore.cc
@@ -106,21 +106,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
}
Context root_ctx;
- root_ctx.functions_p = &builtin_functions;
- root_ctx.modules_p = &builtin_modules;
- root_ctx.set_variable("$fn", Value(0.0));
- root_ctx.set_variable("$fs", Value(1.0));
- root_ctx.set_variable("$fa", Value(12.0));
- root_ctx.set_variable("$t", Value(0.0));
-
- Value zero3;
- zero3.type = Value::VECTOR;
- zero3.append(new Value(0.0));
- zero3.append(new Value(0.0));
- zero3.append(new Value(0.0));
- root_ctx.set_variable("$vpt", zero3);
- root_ctx.set_variable("$vpr", zero3);
-
+ register_builtin(root_ctx);
AbstractModule *root_module;
ModuleInstantiation root_inst;
contact: Jan Huwald // Impressum