added size of Vector6f

This commit is contained in:
Andrew Tridgell 2012-02-11 23:00:08 +11:00
parent 9d131357db
commit 30c76664ce
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}