12 |
|
#include <stdlib.h> |
13 |
|
#include <math.h> |
14 |
|
#include "platform.h" |
15 |
+ |
#include "rtprocess.h" |
16 |
|
#include "calcomp.h" |
17 |
|
#include "bsdfrep.h" |
18 |
|
/* global argv[0] */ |
45 |
|
puts("<Optical>"); |
46 |
|
puts("<Layer>"); |
47 |
|
puts("\t<Material>"); |
48 |
< |
puts("\t\t<Name>Name</Name>"); |
49 |
< |
puts("\t\t<Manufacturer>Manufacturer</Manufacturer>"); |
48 |
> |
printf("\t\t<Name>%s</Name>\n", bsdf_name[0] ? bsdf_name : "Unknown"); |
49 |
> |
printf("\t\t<Manufacturer>%s</Manufacturer>\n", |
50 |
> |
bsdf_manuf[0] ? bsdf_manuf : "Unknown"); |
51 |
|
puts("\t\t<DeviceType>Other</DeviceType>"); |
52 |
|
puts("\t</Material>"); |
53 |
|
puts("\t<DataDefinition>"); |