Shape for a collider.  
 More...
#include <physics/collisionshape.h>
◆ Box()
◆ Capsule()
  
  
      
        
          | CollisionShape tram::Physics::CollisionShape::Capsule  | 
          ( | 
          float  | 
          radius,  | 
         
        
           | 
           | 
          float  | 
          height  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ Cone()
  
  
      
        
          | CollisionShape tram::Physics::CollisionShape::Cone  | 
          ( | 
          float  | 
          radius,  | 
         
        
           | 
           | 
          float  | 
          height  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ Cylinder()
  
  
      
        
          | CollisionShape tram::Physics::CollisionShape::Cylinder  | 
          ( | 
          float  | 
          radius,  | 
         
        
           | 
           | 
          float  | 
          height  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ Hull()
Creates a convex hull. 
- Note
 - Memory pointed to by the point pointer should not be freed until the CollisionShape is no longer in use. 
 
 
 
◆ Mesh()
Creates a triangle mesh. 
- Note
 - Memory pointed to by the triangle pointer should not be freed until the CollisionShape is no longer in use. 
 
 
 
◆ Sphere()
      
        
          | union  { ... }  tram::Physics::CollisionShape::@50 | 
        
      
 
 
◆ extent_x
      
        
          | float tram::Physics::CollisionShape::extent_x | 
        
      
 
 
◆ extent_y
      
        
          | float tram::Physics::CollisionShape::extent_y | 
        
      
 
 
◆ extent_z
      
        
          | float tram::Physics::CollisionShape::extent_z | 
        
      
 
 
◆ height
      
        
          | float tram::Physics::CollisionShape::height | 
        
      
 
 
◆ hull_points
      
        
          | vec3* tram::Physics::CollisionShape::hull_points | 
        
      
 
 
◆ hull_size
      
        
          | size_t tram::Physics::CollisionShape::hull_size | 
        
      
 
 
◆ mesh_size
      
        
          | size_t tram::Physics::CollisionShape::mesh_size | 
        
      
 
 
◆ mesh_triangles
◆ radius
      
        
          | float tram::Physics::CollisionShape::radius | 
        
      
 
 
◆ radius_x
      
        
          | float tram::Physics::CollisionShape::radius_x | 
        
      
 
 
◆ radius_z
      
        
          | float tram::Physics::CollisionShape::radius_z | 
        
      
 
 
◆ type
      
        
          | Shape tram::Physics::CollisionShape::type | 
        
      
 
 
The documentation for this struct was generated from the following file: