Skip to content

Commit

Permalink
Fixing RAYX RAYCore include and renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Atraxus committed Apr 15, 2023
1 parent bfc5a16 commit 0a0aed0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Intern/RAY-CLI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR)

# ---- Project ----
project(RAY-CLI VERSION 0.5.0.0)
add_executable(${PROJECT_NAME} main.cpp TerminalApp.cpp CommandParser.cpp)
file(GLOB_RECURSE SOURCE ${PROJECT_SOURCE_DIR}/*.cpp)
add_executable(${PROJECT_NAME} ${SOURCE})
# ------------------


Expand Down
2 changes: 1 addition & 1 deletion Intern/RAY-CLI/TerminalApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <filesystem>

#include "CommandParser.h"
#include "RayCore.h"
#include "RAY-Core.h"
#include "TerminalAppConfig.h"

class TerminalApp {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Intern/RAY-Core/src/Tracer/VulkanTracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "Debug/Debug.h"
#include "Debug/Instrumentor.h"
#include "Random.h"
#include "RayCore.h"
#include "RAY-Core.h"

#ifdef RAYX_PLATFORM_MSVC
#ifdef USE_NSIGHT_AFTERMATH
Expand Down
2 changes: 1 addition & 1 deletion Intern/RAY-Core/src/VulkanEngine/VulkanEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <vector>
#include <vulkan/vulkan.hpp>

#include "RayCore.h"
#include "RAY-Core.h"

namespace RAYX {

Expand Down
2 changes: 1 addition & 1 deletion Intern/RAY-X/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ add_executable(${PROJECT_NAME} ${SOURCE})


# ---- Dependencies ----
target_include_directories(${PROJECT_NAME} PRIVATE RAY-Core)
target_link_libraries(${PROJECT_NAME} PRIVATE RAY-Core)
5 changes: 4 additions & 1 deletion Intern/RAY-X/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
// This is currently just to establish the base structure of the project.

#include <iostream>
#include <RAY-Core.h>
#include <Random.h>

int main()
{
std::cout << "Hello World!" << std::endl;
RAYX::randomSeed();
std::cout << RAYX::randomDouble() << std::endl;
}

0 comments on commit 0a0aed0

Please sign in to comment.