| 24 | }; |
| 25 | |
| 26 | inline void TutorialData_Constructor(TutorialData* This) |
| 27 | { |
| 28 | This->g_scene = nullptr; |
| 29 | This->g_traversable = nullptr; |
| 30 | This->tree_ids_host = nullptr; |
| 31 | This->tree_ids_device = nullptr; |
| 32 | This->tree_transforms_host = nullptr; |
| 33 | This->tree_transforms_device = nullptr; |
| 34 | This->terrain_triangles = nullptr; |
| 35 | } |
| 36 | |
| 37 | inline void TutorialData_FreeTreeData(void* hptr, void* dptr) |
| 38 | { |