| 21 |  | test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \ | 
| 22 |  | test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \ | 
| 23 |  | test-trans-def test-trans-fish test-patterns-def test-patterns-plan \ | 
| 24 | < | test-rtrace | 
| 24 | > | test-rtrace test-obj2mesh | 
| 25 |  |  | 
| 26 |  | clean: | 
| 27 |  | rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \ | 
| 36 |  | ### Special test of xform ### | 
| 37 |  |  | 
| 38 |  | test-xform:     combined.rad | 
| 39 | < | radcompare -max 0.04 ref/combined.rad combined.rad | 
| 39 | > | radcompare "-c#" -max 0.04 ref/combined.rad combined.rad | 
| 40 |  |  | 
| 41 |  | combined.rad:   combined_scene.rad | 
| 42 | < | xform -f combined_scene.rad | grep -v '^[       ]*#' > combined.rad | 
| 42 | > | xform -f combined_scene.rad > combined.rad | 
| 43 |  |  | 
| 44 |  | ### Special test of rad ### | 
| 45 |  |  | 
| 46 | < | test-rad:       inst.rif | 
| 46 | > | test-rad:       inst.oct | 
| 47 |  | rad -n -s -e inst.rif > inst_rad.txt | 
| 48 |  | radcompare ref/inst_rad.txt inst_rad.txt | 
| 49 |  |  | 
| 50 | < | ### Special test of oconv ### | 
| 50 | > | ### Special tests of oconv and obj2mesh ### | 
| 51 |  |  | 
| 52 |  | test-oconv:     inst.oct | 
| 53 |  | radcompare ref/inst.oct inst.oct | 
| 54 |  |  | 
| 55 | + | test-obj2mesh:  cab.obj | 
| 56 | + | obj2mesh -w cab.obj | radcompare ref/cab.rtm - | 
| 57 | + |  | 
| 58 |  | ### Special test of rtrace ### | 
| 59 |  |  | 
| 60 |  | test-rtrace:    ref/mirror_fish.hdr  rtmirror_fish.hdr | 
| 70 |  | ### Special test for rfluxmtx (and rcontrib) ### | 
| 71 |  |  | 
| 72 |  | test-rfluxmtx:  ref/rfmirror.mtx rfmirror.mtx | 
| 73 | < | radcompare -max .4 -rms .05 ref/rfmirror.mtx rfmirror.mtx | 
| 73 | > | radcompare -max .4 -rms .05 -rel 1e-4 ref/rfmirror.mtx rfmirror.mtx | 
| 74 |  |  | 
| 75 |  | rfmirror.mtx:   mirror.rad dummysky.rad basic.mat diorama_walls.rad \ | 
| 76 |  | closed_end.rad front_cap.rad glass_pane.rad antimatter_portal.rad |