mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
CActorContraption fixes, better CMake dependency handling
This commit is contained in:
@@ -32,6 +32,6 @@ if(APPLE)
|
||||
set(PLAT_LIBS ${OPENGL_LIBRARY})
|
||||
endif()
|
||||
|
||||
target_link_libraries(visigen logvisor athena-core athena-libyaml zeus glew
|
||||
xxhash ${ZLIB_LIBRARIES} lzokay ${BOO_SYS_LIBS} ${PLAT_LIBS})
|
||||
target_link_libraries(visigen logvisor athena-core zeus boo
|
||||
xxhash ${ZLIB_LIBRARIES} lzokay hecl-light ${PLAT_LIBS})
|
||||
endif()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "VISIRenderer.hpp"
|
||||
#include "zeus/CAABox.hpp"
|
||||
#include "hecl/extern/boo/xxhash/xxhash.h"
|
||||
#include "xxhash/xxhash.h"
|
||||
#include "athena/MemoryWriter.hpp"
|
||||
#include <unordered_map>
|
||||
|
||||
@@ -54,7 +54,7 @@ struct VISIBuilder {
|
||||
Leaf& operator|=(const Leaf& other) {
|
||||
if (bits.size() < other.bits.size())
|
||||
bits.resize(other.bits.size());
|
||||
for (int i = 0; i < other.bits.size(); ++i)
|
||||
for (size_t i = 0; i < other.bits.size(); ++i)
|
||||
bits[i] |= other.bits[i];
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user