File: 40%20-%20Include_File%20Template_macro.txt

package info (click to toggle)
povray 1%3A3.7.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 146,780 kB
  • sloc: cpp: 845,005; ansic: 122,118; sh: 34,206; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,387; cs: 879; awk: 590; perl: 245; xml: 95
file content (72 lines) | stat: -rw-r--r-- 2,952 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// POV-Ray 3.7 include file "NAME.inc"
// author, date:  
//---------------------------------------------------------------------------------------
#ifndef( NAME_Inc_Temp)
#declare NAME_Inc_Temp = version;
#version 3.7;
//---------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------
/*
#ifndef(  Colors_Inc_Temp)
#include "colors.inc"                                             
#end
#ifndef(  Textures_Inc_Temp)
#include "textures.inc"                                             
#end
#ifndef(  Shapes_Inc_Temp)
#include "shapes.inc"                                             
#end
#ifndef(  Shapes2_Inc_Temp)
#include "shapes2.inc"                                             
#end
*/

//--------------------------------------------------------------------///////////////////   
//-------------------------------------------------------------------------- macro NAME 
#macro NAME(    VALUE, // meaning of VALUE                                  
           ) //-------------------------------------------------------------------------- 
//--------------------------------------------------------------------------------------- 
#local D = 0.00001;
//---------------------------------------------------------------------------------------
// macro items





// --------------------------------------------------------------------------------------
#end// of macro ------------------------------------------------------///// end of macro
//--------------------------------------------------------------------///////////////////  




//---------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------
// example: 
/*
//----------------------------------------------------------------------------- textures
#declare NAME_Texture = 
   texture { pigment{ color rgb<1,1,1> } 
             finish { phong 0.1} 
           } // end of texture
//-------------------------------------------------------------------------------------//
#include "NAME.inc" 
//-------------------------------------------------------------------------------------// 
object{ NAME( VALUE, // meaning of VALUE
 
                   ) //----------------------------------------------------------------//
        texture { NAME_Texture }
        scale <1,1,1>*1
        rotate<0,0,0> 
        translate<0.00,0.00, 0.00>
      } //------------------------ 
//-------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------
*/

#version NAME_Inc_Temp;
#end
//------------------------------------------------------------------- end of include file