model_collide.hh 1.2 KB

12345678910111213141516171819202122232425262728
  1. /********************************************************************** <BR>
  2. This file is part of Crack dot Com's free source code release of
  3. Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
  4. information about compiling & licensing issues visit this URL</a>
  5. <PRE> If that doesn't help, contact Jonathan Clark at
  6. golgotha_source@usa.net (Subject should have "GOLG" in it)
  7. ***********************************************************************/
  8. #ifndef G1_MODEL_COLLIDE_HH
  9. #define G1_MODEL_COLLIDE_HH
  10. #include "objs/model_draw.hh"
  11. #include "math/point.hh"
  12. i4_bool g1_model_collide_polygonal(g1_object_class *_this,
  13. g1_model_draw_parameters &params,
  14. const i4_3d_vector &start,
  15. i4_3d_vector &ray,
  16. i4_3d_vector &hit_normal,
  17. i4_float *minimum_t=0);
  18. i4_bool g1_model_collide_radial(g1_object_class *_this,
  19. g1_model_draw_parameters &params,
  20. const i4_3d_vector &start,
  21. i4_3d_vector &ray);
  22. #endif