File: cvs.diff

package info (click to toggle)
terraform 0.8.6-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,396 kB
  • ctags: 2,146
  • sloc: ansic: 23,806; sh: 2,862; pascal: 512; makefile: 440; sed: 93
file content (71 lines) | stat: -rw-r--r-- 1,450 bytes parent folder | download
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
? Makefile
? Makefile.in
? cvs.diff
? earth_basic.pov
Index: bare_rock.pov
===================================================================
RCS file: /cvsroot/terraform/terraform/data/themes/bare_rock.pov,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 bare_rock.pov
32,42c32,80
< object
< {
< 	TF_HEIGHT_FIELD
< 	scale       <TF_X_SCALE, TF_Y_SCALE, TF_Z_SCALE>  // reduce height
< 	translate 	<-.5*TF_X_SCALE, 0, -.5*TF_Z_SCALE>
< 	texture 
< 		{ 
< 		pigment 	{ color White } 
< 		finish 		{ phong 0.1 ambient 0.2 } 
< 		}
< }
---
> 
> #if (TF_TILE_TERRAIN = false)
> 
>   object
>   {
>     TF_HEIGHT_FIELD
>     scale <TF_X_SCALE, TF_Y_SCALE, TF_Z_SCALE>  // reduce height
>     translate <-.5*TF_X_SCALE, 0, -.5*TF_Z_SCALE>
> 
>     texture 
>       { 
>       pigment { color White } 
>       finish { phong 0.1 ambient 0.2 } 
>       }
>   }
> 
> #else
> 
>   #declare zoff = 0;
>   #declare zlim = 2;
> 
>   #while (zoff  < zlim)
> 
>     #declare xoff = 0;
>     #declare xlim = 2;
> 
>     #while (xoff  < xlim)
> 
>       object
>       {
>         TF_HEIGHT_FIELD
> 
>         texture 
>         { 
>           pigment { color White } 
>           finish { phong 0.1 ambient 0.2 } 
>         }
> 
>         scale <TF_X_SCALE, TF_Y_SCALE, TF_Z_SCALE>
>         translate <TF_X_SCALE*(-1+xoff ), 0, TF_Z_SCALE*(-0.5+zoff)>
>       }
> 
>       #declare xoff  = xoff  + 1;
>     #end
> 
>     #declare zoff  = zoff  + 1;
>   #end
> 
> #end