rearrange source/header files for compatibility with CocoaPods Framework structure

This commit is contained in:
Nick Fisher
2022-10-04 09:23:53 +08:00
parent 204c75a603
commit dcd0a16bf9
41 changed files with 377 additions and 619 deletions

View File

@@ -69,7 +69,8 @@
#include "Log.hpp"
#include "SceneResources.hpp"
#if TARGET_OS_IPHONE
#include "image/imagematerials_ios.h"
#include "material/imagematerials_ios.h"
#include "material/unlitopaque.h"
#else
#include "image/imagematerial.h"
#include "shaders/unlitopaque.h"
@@ -98,7 +99,7 @@ namespace polyvox {
public:
UnlitMaterialProvider(Engine* engine) {
_m = Material::Builder()
.package(UNLITOPAQUE_UNLIT_OPAQUE_DATA, UNLITOPAQUE_UNLIT_OPAQUE_SIZE)
.package( UNLITOPAQUE_UNLIT_OPAQUE_DATA, UNLITOPAQUE_UNLIT_OPAQUE_SIZE)
.build(*engine);
_ms[0] = _m;
}