MCPcopy Create free account
hub / github.com/RenderKit/embree / Tutorial

Class Tutorial

tutorials/ray_mask/ray_mask.cpp:24–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 struct Tutorial : public TutorialApplication
25 {
26 Tutorial()
27 : TutorialApplication(NAME,FEATURES)
28 {
29 /* set default camera */
30 camera.from = Vec3fa(3.5f,3.0f,-5.0f);
31 camera.to = Vec3fa(0.0f,0.0f,0.0f);
32 }
33#if defined(USE_GLFW)
34
35 void drawGUI() override
36 {
37 ImGui::Checkbox ("enable ray mask", &g_ray_mask);
38 if (g_drawGUI)
39 g_drawGUI();
40 }
41#endif
42 };
43
44}
45

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected