seperation of body initialization, glider model
[carveJwlIkooP6JGAAIwe30JlM.git] / vehicle.h
index bdd12f02329cfe6169912ccb9fe89e3bb5a53de0..ca8943d1453d4a6a15abc0d6c3a5791eae88ecfb 100644 (file)
--- a/vehicle.h
+++ b/vehicle.h
@@ -21,7 +21,7 @@ typedef struct drivable_vehicle drivable_vehicle;
 struct drivable_vehicle
 {
    int alive, inside;
-   rb_object obj;
+   rigidbody rb;
 
    v3f wheels[4];
 
@@ -37,8 +37,7 @@ struct drivable_vehicle
 }
 static gzoomer =
 {
-   .obj = { .type = k_rb_shape_sphere, .inf.sphere.radius = 1.0f,
-            .rb.co = {-2000,-2000,-2000}}
+   .rb.co = {-2000,-2000,-2000}
 };
 
 static int spawn_car( int argc, const char *argv[] );