QuasarEngine
Cross-platform 3D engine and editor
Toggle main menu visibility
Loading...
Searching...
No Matches
Path.h
Go to the documentation of this file.
1
#pragma once
2
7
8
#include <filesystem>
9
#include <optional>
10
#include <string>
11
12
namespace
Quasar
13
{
22
std::string
NormalizePath
(
const
std::filesystem::path& path);
23
33
std::optional<std::string>
MakeRelativePath
(
const
std::filesystem::path& path,
const
std::filesystem::path& root);
34
}
Quasar
Contains all the engine code.
Quasar::MakeRelativePath
std::optional< std::string > MakeRelativePath(const std::filesystem::path &path, const std::filesystem::path &root)
Makes a path relative to a root folder, in the form stored in engine files.
Quasar::NormalizePath
std::string NormalizePath(const std::filesystem::path &path)
Converts a path to the form stored in engine files, the same on every platform.
quasar
io
Path.h
Generated by
1.18.0