Exemple #1
0
 /// <summary>
 /// Creates the native box with current half extents.
 /// </summary>
 /// <returns>Native box object.</returns>
 protected override agxCollide.Shape CreateNative()
 {
     return(new agxCollide.Box(HalfExtents.ToVec3()));
 }
Exemple #2
0
 /// <summary>
 /// Creates the native box with current half extents.
 /// </summary>
 /// <returns>Native box object.</returns>
 protected override agxCollide.Geometry CreateNative()
 {
     return(new agxCollide.Geometry(new agxCollide.Box(HalfExtents.ToVec3()),
                                    GetNativeGeometryOffset()));
 }