static void OOF_ReadVector (CFile& cf, CFloatVector *pv, const char *pszIdent) { (*pv) [X] = cf.ReadFloat (); (*pv) [Y] = cf.ReadFloat (); (*pv) [Z] = cf.ReadFloat (); OOF_PrintLog (" %s = %1.4f,%1.4f,%1.4f\n", pszIdent, (*pv) [X], (*pv) [Y], (*pv) [Z]); }
static float OOF_ReadFloat (CFile& cf, const char *pszIdent) { float f = cf.ReadFloat (); OOF_PrintLog (" %s = %1.4f\n", pszIdent, f); return f; }