| 1361 | } |
| 1362 | |
| 1363 | OVR_PUBLIC_FUNCTION(unsigned int) ovr_GetFloatArray(ovrSession session, const char* propertyName, float values[], unsigned int valuesCapacity) |
| 1364 | { |
| 1365 | REV_TRACE(ovr_GetFloatArray); |
| 1366 | |
| 1367 | if (strcmp(propertyName, OVR_KEY_NECK_TO_EYE_DISTANCE) == 0) |
| 1368 | { |
| 1369 | if (valuesCapacity < 2) |
| 1370 | return 0; |
| 1371 | |
| 1372 | values[0] = OVR_DEFAULT_NECK_TO_EYE_HORIZONTAL; |
| 1373 | values[1] = OVR_DEFAULT_NECK_TO_EYE_VERTICAL; |
| 1374 | return 2; |
| 1375 | } |
| 1376 | |
| 1377 | return 0; |
| 1378 | } |
| 1379 | |
| 1380 | OVR_PUBLIC_FUNCTION(ovrBool) ovr_SetFloatArray(ovrSession session, const char* propertyName, const float values[], unsigned int valuesSize) |
| 1381 | { |
nothing calls this directly
no outgoing calls
no test coverage detected