diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-08 22:31:09 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-08 22:31:09 -0400 |
commit | 5976fed7b2a8cc969f27c977195acc3e08021c8f (patch) | |
tree | f18eac5fb3b44441e8a9da6b236533a3ab5f1455 /example.m | |
parent | df57c5bc58d551b6bc2dfb2e4750e39590f5c5d4 (diff) | |
download | wgmr-5976fed7b2a8cc969f27c977195acc3e08021c8f.tar.gz wgmr-5976fed7b2a8cc969f27c977195acc3e08021c8f.zip |
delete obsolete example
Diffstat (limited to 'example.m')
-rw-r--r-- | example.m | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/example.m b/example.m deleted file mode 100644 index 9fa23e9..0000000 --- a/example.m +++ /dev/null @@ -1,31 +0,0 @@ -beam.k=[1,-.5]; -beam.origin=[0,0]; -beam.face=NA; -beam.intensity=1; - -face.vertex1=[1.1,-1]; -face.vertex2=[2.7,1]; -face.n_right = 1; -face.n_left= 2.5; - -face2.vertex1=[-.1,-3]; -face2.vertex2=[-.1,3]; -face2.n_right = 1; -face2.n_left= 1; - -face3.vertex1=[2.1,-3]; -face3.vertex2=[2.1,3]; -face3.n_right = 1.5; -face3.n_left= 1; - -faces={face,face2,face3}; - -[is_face_hit, hit_position, hit_distance, new_beams] = face_beam_interaction(beam, faces); -beam_reflected=new_beams{1}; -beam_refracted=new_beams{2}; - - -[is_face_hit, hit_position, hit_distance, new_beams] = face_beam_interaction(beam_reflected, faces); - -[is_face_hit, hit_position, hit_distance, new_beams] = face_beam_interaction(beam_refracted, faces); - |