-# Open Asset Import Library (assimp)
+# Open Asset Import Library (assimp)
# ----------------------------------------------------------------------
#
# Copyright (c) 2006-2016, assimp team
SOURCE_GROUP( openddl_parser FILES ${openddl_parser_SRCS})
SET ( open3dgc_SRCS
+ ../contrib/Open3DGC/o3dgcAdjacencyInfo.h
../contrib/Open3DGC/o3dgcArithmeticCodec.cpp
+ ../contrib/Open3DGC/o3dgcArithmeticCodec.h
+ ../contrib/Open3DGC/o3dgcBinaryStream.h
+ ../contrib/Open3DGC/o3dgcCommon.h
+ ../contrib/Open3DGC/o3dgcDVEncodeParams.h
../contrib/Open3DGC/o3dgcDynamicVectorDecoder.cpp
+ ../contrib/Open3DGC/o3dgcDynamicVectorDecoder.h
../contrib/Open3DGC/o3dgcDynamicVectorEncoder.cpp
+ ../contrib/Open3DGC/o3dgcDynamicVectorEncoder.h
+ ../contrib/Open3DGC/o3dgcDynamicVector.h
+ ../contrib/Open3DGC/o3dgcFIFO.h
+ ../contrib/Open3DGC/o3dgcIndexedFaceSet.h
+ ../contrib/Open3DGC/o3dgcIndexedFaceSet.inl
+ ../contrib/Open3DGC/o3dgcSC3DMCDecoder.h
+ ../contrib/Open3DGC/o3dgcSC3DMCDecoder.inl
+ ../contrib/Open3DGC/o3dgcSC3DMCEncodeParams.h
+ ../contrib/Open3DGC/o3dgcSC3DMCEncoder.h
+ ../contrib/Open3DGC/o3dgcSC3DMCEncoder.inl
+ ../contrib/Open3DGC/o3dgcTimer.h
../contrib/Open3DGC/o3dgcTools.cpp
../contrib/Open3DGC/o3dgcTriangleFans.cpp
- ../contrib/Open3DGC/o3dgcTimer.h
+ ../contrib/Open3DGC/o3dgcTriangleFans.h
+ ../contrib/Open3DGC/o3dgcTriangleListDecoder.h
+ ../contrib/Open3DGC/o3dgcTriangleListDecoder.inl
+ ../contrib/Open3DGC/o3dgcTriangleListEncoder.h
+ ../contrib/Open3DGC/o3dgcTriangleListEncoder.inl
+ ../contrib/Open3DGC/o3dgcVector.h
+ ../contrib/Open3DGC/o3dgcVector.inl
)
SOURCE_GROUP( open3dgc FILES ${open3dgc_SRCS})
if(bufferView->buffer->EncodedRegion_Current != nullptr)
{
const size_t begin = bufferView->buffer->EncodedRegion_Current->Offset;
- const size_t end = bufferView->buffer->EncodedRegion_Current->Offset + bufferView->buffer->EncodedRegion_Current->DecodedData_Length;
+ const size_t end = begin + bufferView->buffer->EncodedRegion_Current->DecodedData_Length;
- if((offset >= begin) && (offset < end)) return &bufferView->buffer->EncodedRegion_Current->DecodedData[offset - begin];
+ if((offset >= begin) && (offset < end))
+ return &bufferView->buffer->EncodedRegion_Current->DecodedData[offset - begin];
}
return basePtr + offset;