| 26 | }; |
| 27 | |
| 28 | void TutorialData_Constructor(TutorialData* This) |
| 29 | { |
| 30 | This->numSpheres = NUM_SPHERES; |
| 31 | This->numPhi = NUM_PHI; |
| 32 | This->numTheta = NUM_THETA; |
| 33 | This->g_scene = nullptr; |
| 34 | This->g_traversable = nullptr; |
| 35 | This->position = (Vec3fa*) alignedUSMMalloc((NUM_SPHERES)*sizeof(Vec3fa),16); |
| 36 | This->colors = (Vec3fa*) alignedUSMMalloc((NUM_SPHERES+1)*sizeof(Vec3fa),16); |
| 37 | This->radius = (float*) alignedUSMMalloc((NUM_SPHERES)*sizeof(float),16); |
| 38 | } |
| 39 | |
| 40 | void TutorialData_Destructor(TutorialData* This) |
| 41 | { |
no test coverage detected