various small tweaks
This commit is contained in:
@ -235,7 +235,7 @@ static void process_vehicle(SceneIngame *scn) {
|
||||
/* front arms are rotated to be perpendicular to center of turning, */
|
||||
/* which then are used to dissipate forces, thus providing control */
|
||||
Vec3 const rear_bar = vec3_sub(vbp[0], vbp[3]);
|
||||
Vec3 const rear_center = vec3_add(vbp[3], vec3_scale(rear_bar, 0.5));
|
||||
Vec3 const rear_center = vec3_scale(vec3_add(vbp[0], vbp[3]), 0.5);
|
||||
Vec3 a, b, r;
|
||||
if (i == 1) {
|
||||
a = vec3_sub(vbp[3], vbp[2]);
|
||||
|
Reference in New Issue
Block a user