@EmbedObj.h 853 B

123456789101112131415161718
  1. /******************************************************************************/
  2. class EmbedObj
  3. {
  4. Mesh mesh;
  5. MeshBase phys_path , // phys for path (has phys mesh/convex/shapes)
  6. phys_actor; // phys for actor (has phys mesh/convex ), shapes will be taken from phys_shapes
  7. Rect mesh_rect, phys_path_rect, phys_actor_rect;
  8. Memc<Shape> phys_shapes;
  9. OBJ_PATH path;
  10. void set(C Matrix &matrix, C Object &src, bool set_mesh, bool set_phys, OBJ_PATH *ovr_path, uint *ovr_mesh_variation_id); // this is called on secondary thread
  11. public:
  12. EmbedObj();
  13. };
  14. /******************************************************************************/
  15. /******************************************************************************/
  16. /******************************************************************************/