summaryrefslogtreecommitdiff
path: root/testdata/scad/bugs/transform-nan-inf-tests.scad
blob: eb3cb0c7100385704e4b53b94c20f60498fb4118 (plain)
1
2
3
4
5
6
7
8
9
10
// Test translation by NaN and Infinity

// NaN test - cube() should not be rendered
sphere();
angle = asin(1.1);
render()
rotate([0, 0, angle])
cube();

// FIXME: how do you test infinity?
contact: Jan Huwald // Impressum