Skip to content

Commit b7499ab

Browse files
Rename Ray Tracing chapter main class (#191)
1 parent f91ad75 commit b7499ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

attachments/38_ray_tracing.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ struct PushConstant {
107107
#endif // LAB_TASK_LEVEL >= LAB_TASK_REFLECTIONS
108108
};
109109

110-
class HelloTriangleApplication {
110+
class VulkanRaytracingApplication {
111111
public:
112112
void run() {
113113
initWindow();
@@ -237,7 +237,7 @@ class HelloTriangleApplication {
237237
}
238238

239239
static void framebufferResizeCallback(GLFWwindow* window, int width, int height) {
240-
auto app = static_cast<HelloTriangleApplication*>(glfwGetWindowUserPointer(window));
240+
auto app = static_cast<VulkanRaytracingApplication*>(glfwGetWindowUserPointer(window));
241241
app->framebufferResized = true;
242242
}
243243

@@ -304,7 +304,7 @@ class HelloTriangleApplication {
304304
}
305305

306306
void createInstance() {
307-
constexpr vk::ApplicationInfo appInfo{ .pApplicationName = "Hello Triangle",
307+
constexpr vk::ApplicationInfo appInfo{ .pApplicationName = "Vulkan Tutorial Ray Tracing",
308308
.applicationVersion = VK_MAKE_VERSION( 1, 0, 0 ),
309309
.pEngineName = "No Engine",
310310
.engineVersion = VK_MAKE_VERSION( 1, 0, 0 ),
@@ -1959,7 +1959,7 @@ class HelloTriangleApplication {
19591959

19601960
int main() {
19611961
try {
1962-
HelloTriangleApplication app;
1962+
VulkanRaytracingApplication app;
19631963
app.run();
19641964
} catch (const std::exception& e) {
19651965
std::cerr << e.what() << std::endl;

0 commit comments

Comments
 (0)