Browse Source

added size of Vector6f

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
94a86204ee
  1. 2
      libraries/AP_Common/AP_Param.cpp

2
libraries/AP_Common/AP_Param.cpp

@ -178,6 +178,8 @@ const uint8_t AP_Param::type_size(enum ap_var_type type) @@ -178,6 +178,8 @@ const uint8_t AP_Param::type_size(enum ap_var_type type)
return 4;
case AP_PARAM_VECTOR3F:
return 3*4;
case AP_PARAM_VECTOR6F:
return 6*4;
case AP_PARAM_MATRIX3F:
return 3*3*4;
}

Loading…
Cancel
Save