File: Built-in%20Ids.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 (34 lines) | stat: -rw-r--r-- 1,246 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
// These identifiers are built in to POV-Ray, ready to use
//  #declare pi = 3.1415926535897932384626 
//  #declare e.. = 1*10^... // 3.4e4 = 34000, 2e-5 =0.00002 ; 
//  #declare E.. = 1*10^... // 3.4E4 = 34000, 2E-5 =0.00002 ; 
//  #declare true = 1 
//  #declare yes = 1 
//  #declare on = 1 
//  #declare false = 0 
//  #declare no = 0 
//  #declare off = 0 
//  #declare u = <1,0> 
//  #declare v = <0,1> 
//  #declare o = <0,0,0> 
//  #declare x = <1,0,0> 
//  #declare y = <0,1,0> 
//  #declare z = <0,0,1> 
//  #declare t = <0,0,0,1> 

// Other built in identifiers with no fixed values :
/*
version         // version (default 3.6, can be changed with #version)
image_width     // width of current render
image_height    // height of current render
input_file_name // string of the name of the input file of the scene
// values set by running an animation ini file:
clock           // current clock value in animations (0..1)
clock_delta     // clock step between frames
initial_clock   // start clock value (+KIn.n)
final_clock     // end clock value (+KFn.n)
initial_frame   // start frame number (+KFIn.n)
final_frame     // end frame number (+KFFn.n)
frame_number    // current frame number
clock_on        // 1(true) if animation
*/