From 929d59b169c819e6cb35bb9e75a817971c3acd24 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Sun, 29 Dec 2024 19:02:14 +0100 Subject: [PATCH] made Repere an object --- contexte.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/contexte.inc b/contexte.inc index 3f44506..93cd4c8 100644 --- a/contexte.inc +++ b/contexte.inc @@ -52,10 +52,13 @@ height_field { } -#if (0) -cylinder { 0, <1, 0, 0>, 0.005 pigment { color Red } } -cylinder { 0, <0, 0, 1>, 0.005 pigment { color Blue } } -#end +#declare Repere = object +{ +union { + cylinder { 0, <1, 0, 0>, 0.007 pigment { color Red } } + cylinder { 0, <0, 0, 1>, 0.007 pigment { color Blue } } + } +} #if (1) light_source {