12 |
|
|
13 |
|
#include "otypes.h" |
14 |
|
|
15 |
+ |
#include "otspecial.h" |
16 |
+ |
|
17 |
|
extern int o_sphere(); |
18 |
|
extern int o_face(); |
19 |
|
extern int o_cone(); |
48 |
|
ofun[MAT_ILLUM].funp = |
49 |
|
ofun[MAT_GLOW].funp = |
50 |
|
ofun[MAT_SPOT].funp = m_light; |
51 |
+ |
ofun[MAT_ILLUM].flags |= T_IRR_IGN; |
52 |
|
ofun[MAT_PLASTIC].funp = |
53 |
|
ofun[MAT_METAL].funp = |
54 |
|
ofun[MAT_TRANS].funp = m_normal; |
55 |
+ |
ofun[MAT_TRANS].flags |= T_IRR_IGN; |
56 |
|
ofun[MAT_DIELECTRIC].funp = |
57 |
|
ofun[MAT_INTERFACE].funp = m_dielectric; |
58 |
+ |
ofun[MAT_DIELECTRIC].flags |= T_IRR_IGN; |
59 |
+ |
ofun[MAT_INTERFACE].flags |= T_IRR_IGN; |
60 |
|
ofun[MAT_GLASS].funp = m_glass; |
61 |
+ |
ofun[MAT_GLASS].flags |= T_IRR_IGN; |
62 |
|
ofun[MAT_CLIP].funp = m_clip; |
63 |
|
ofun[MAT_PFUNC].funp = |
64 |
|
ofun[MAT_MFUNC].funp = |