Add version output to text examples and fix viewport orientation.

master
Torsten Paul 2014-08-03 18:38:21 +02:00
parent 63be176c11
commit 164b50b1b7
4 changed files with 8 additions and 2 deletions

View File

@ -2,8 +2,10 @@
// (c) 2014 Torsten Paul
// CC-BY-SA 4.0
$vpr = [0, 0, 0];
$vpt = [-250, 0, -80];
echo(version=version());
$vpr = [90, 0, 0];
$vpt = [250, 0, 80];
$vpd = 500;
r = 60;

View File

@ -2,6 +2,8 @@
// (c) 2014 Torsten Paul
// CC-BY-SA 4.0
echo(version=version());
font = "Liberation Sans";
cube_size = 60;

View File

@ -1,4 +1,5 @@
group() {
group();
multmatrix([[1, 0, 0, 110], [0, 1, 0, 0], [0, 0, 1, 80], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 30], [0, 0, 0, 1]]) {
multmatrix([[0.69427204401, 0.71938369937, 0.02175826214, 0], [-0.58256341607, 0.57946619475, -0.56994630922, 0], [-0.42261826174, 0.38302222155, 0.82139380484, 0], [0, 0, 0, 1]]) {

View File

@ -1,4 +1,5 @@
group() {
group();
difference() {
union() {
color([0.501961, 0.501961, 0.501961, 1]) {