-
Notifications
You must be signed in to change notification settings - Fork 0
/
uConst.pas
36 lines (30 loc) · 1.04 KB
/
uConst.pas
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
unit uConst;
interface
const
// de OpenGL far-plane van het frustum:
MaxViewDistance = 5000.0;
// de grootte van de skybox:
// Dit is de afstand camera-SkyBox (de helft van de totale grootte dus)
// => Size² + sqrt(Size² + Size²) = MaxViewDistance
SkyBoxSize = MaxViewDistance / 1.75; // in uOpenGL
// tbv. disabled buttons
HalfTone : array[0..31,0..3] of byte = (
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55),
($AA,$AA,$AA,$AA),($55,$55,$55,$55)
);
implementation
end.