commit 87793b0b2872c8405fbe3fb38a9ff3c61acacb24
parent 4c7c3525a5ba9dc270e531ea14209a00746f148b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 9 Nov 2016 12:13:09 +0100
Update the input specification
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/input b/doc/input
@@ -17,7 +17,7 @@
- object: &cylinder2
cylinder: { height: 5, radius: 0.5 }
material: *lambertian
- transform: { position: [2.5, 11, 0], rotation: [90, 0, 0] }
+ transform: { translation: [2.5, 11, 0], rotation: [90, 0, 0] }
- object: ¶bol
material: *mirror
parabol:
@@ -31,12 +31,12 @@
# Declare a composition
- node: &heliostat0
- transform: { rotation: [0, 0, 0], position: [0, 0, 0] }
+ transform: { rotation: [0, 0, 0], translation: [0, 0, 0] }
entities:
- object: *cylinder
children:
- node:
- transform: { rotation: [0, 0, 0], position: [0, 0, 0] }
+ transform: { rotation: [0, 0, 0], translation: [0, 0, 0] }
entities:
- pivot: *my_pivot
children:
@@ -46,25 +46,25 @@
- object: *cylinder2
children:
- node:
- transform: { position: [2.5, 11, 0], rotation: [90, 0, 0] }
+ transform: { translation: [2.5, 11, 0], rotation: [90, 0, 0] }
entities:
- object: *parabol
# Create the solar factory
- instance:
- transform: { position: [0, 0, 0] }
+ transform: { translation: [0, 0, 0] }
node : *heliostat0
- instance:
- transform: { position: [0, 0, 10] }
+ transform: { translation: [0, 0, 10] }
node : *heliostat0
- instance:
- transform: { position: [0, 0, 20] }
+ transform: { translation: [0, 0, 20] }
node : *heliostat0
- instante:
- transform: { position: [0, 0, 30] }
+ transform: { translation: [0, 0, 30] }
node : *heliostat0
- instance:
- transform: { position: [0, 0, -10] }
+ transform: { translation: [0, 0, -10] }
object : *house
--------------------------------------------------------------------------------
@@ -233,7 +233,7 @@ instance:
----------------------------------------
<transform> ::=
transform:
- position: <real3>
+ translation: <real3>
rotation: <real3>
<real3> ::=