Skip to content

Commit db319a3

Browse files
committed
Rename Ray Tracing chapter main class
1 parent 769e70c commit db319a3

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
@@ -108,7 +108,7 @@ struct PushConstant {
108108
#endif // LAB_TASK_LEVEL >= LAB_TASK_REFLECTIONS
109109
};
110110

111-
class HelloTriangleApplication {
111+
class VulkanRaytracingApplication {
112112
public:
113113
void run() {
114114
initWindow();
@@ -238,7 +238,7 @@ class HelloTriangleApplication {
238238
}
239239

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

@@ -305,7 +305,7 @@ class HelloTriangleApplication {
305305
}
306306

307307
void createInstance() {
308-
constexpr vk::ApplicationInfo appInfo{ .pApplicationName = "Hello Triangle",
308+
constexpr vk::ApplicationInfo appInfo{ .pApplicationName = "Vulkan Tutorial Ray Tracing",
309309
.applicationVersion = VK_MAKE_VERSION( 1, 0, 0 ),
310310
.pEngineName = "No Engine",
311311
.engineVersion = VK_MAKE_VERSION( 1, 0, 0 ),
@@ -1960,7 +1960,7 @@ class HelloTriangleApplication {
19601960

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

0 commit comments

Comments
 (0)