| 1723 | |
| 1724 | /* called by the C++ code for initialization */ |
| 1725 | extern "C" void device_init (char* cfg) |
| 1726 | { |
| 1727 | /* initialize last seen camera */ |
| 1728 | g_accu_vx = Vec3fa(0.0f); |
| 1729 | g_accu_vy = Vec3fa(0.0f); |
| 1730 | g_accu_vz = Vec3fa(0.0f); |
| 1731 | g_accu_p = Vec3fa(0.0f); |
| 1732 | |
| 1733 | TutorialData_Constructor(&data); |
| 1734 | |
| 1735 | //data.occlusionFilterOpaque = GET_FUNCTION_POINTER(occlusionFilterOpaque); |
| 1736 | data.occlusionFilterHair = GET_FUNCTION_POINTER(occlusionFilterHair); |
| 1737 | |
| 1738 | } // device_init |
| 1739 | |
| 1740 | extern "C" void renderFrameStandard (int* pixels, |
| 1741 | const unsigned int width, |
nothing calls this directly
no test coverage detected