OVR_EXPORT unsigned int ovrHmd_GetFloatArray(ovrHmd hmd, const char* propertyName, float values[], unsigned int arraySize) { HMDState* hmds = (HMDState*)hmd; if (hmds) { return hmds->getFloatArray(propertyName, values, arraySize); } return 0; }
OVR_EXPORT unsigned int ovrHmd_GetFloatArray(ovrHmd hmddesc, const char* propertyName, float values[], unsigned int arraySize) { OVR_ASSERT(hmddesc && propertyName); HMDState* hmds = (HMDState*)hmddesc->Handle; if (hmds) { return hmds->getFloatArray(propertyName, values, arraySize); } return 0; }
OVR_EXPORT unsigned int ovrHmd_GetFloatArray(ovrHmd hmddesc, const char* propertyName, float values[], unsigned int arraySize) { OVR_ASSERT(propertyName); OVR_ASSERT(hmddesc); if (hmddesc) { HMDState* hmds = (HMDState*)hmddesc->Handle; OVR_ASSERT(hmds); if (hmds) { return hmds->getFloatArray(propertyName, values, arraySize); } } // FIXME: Currently it takes a few lines of code to do this, so just not supported for now. return 0; }