mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Copy irrlichtmt to <root>/irr/
This commit is contained in:
21
irr/include/exampleHelper.h
Executable file
21
irr/include/exampleHelper.h
Executable file
@@ -0,0 +1,21 @@
|
||||
// Copyright (C) 2015 Patryk Nadrowski
|
||||
// This file is part of the "Irrlicht Engine".
|
||||
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "path.h"
|
||||
|
||||
namespace irr
|
||||
{
|
||||
|
||||
static io::path getExampleMediaPath()
|
||||
{
|
||||
#ifdef IRR_MOBILE_PATHS
|
||||
return io::path("media/");
|
||||
#else
|
||||
return io::path("../../media/");
|
||||
#endif
|
||||
}
|
||||
|
||||
} // end namespace irr
|
Reference in New Issue
Block a user