QuasarEngine
Cross-platform 3D engine and editor
Loading...
Searching...
No Matches
Path.h File Reference

Functions to convert paths to the form stored in engine files. More...

#include <filesystem>
#include <optional>
#include <string>

Go to the source code of this file.

Namespaces

namespace  Quasar
 Contains all the engine code.

Functions

std::string Quasar::NormalizePath (const std::filesystem::path &path)
 Converts a path to the form stored in engine files, the same on every platform.
std::optional< std::string > Quasar::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.

Detailed Description

Functions to convert paths to the form stored in engine files.

Author
Kurogenshi
Date
2026-10-25