Changeset 527 for trunk/src/bullet


Ignore:
Timestamp:
11/03/16 00:51:07 (9 years ago)
Author:
epyon
Message:
  • physics update
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bullet/bullet_world.cc

    r525 r527  
    8888{
    8989        return collision_shape{ ( void* )new btCapsuleShape( radius, height ) };
     90}
     91
     92nv::collision_shape nv::bullet_world::create_cylinder( const vec3& half_extents )
     93{
     94        return collision_shape{ ( void* )new btCylinderShape( n2b( half_extents ) ) };
    9095}
    9196
Note: See TracChangeset for help on using the changeset viewer.