Skip to content

Commit 4b73d99

Browse files
author
swayfreeda
committed
add 3rdparty mrf gco and mrf
1 parent 11d76e9 commit 4b73d99

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+13128
-0
lines changed

3rdParty/coldet/CMakeLists.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
cmake_minimum_required(VERSION 2.8)
2+
3+
project(ColDet)
4+
5+
set(SOURCES
6+
src/box_bld.cpp
7+
src/box.cpp
8+
src/cdmath3d.cpp
9+
src/coldet_bld.cpp
10+
src/coldet.cpp
11+
src/multiobject.cpp
12+
src/mytritri.cpp
13+
src/sysdep.cpp
14+
src/tritri.c
15+
)
16+
17+
if(UNIX)
18+
add_definitions(-DGCC)
19+
endif()
20+
21+
set(CMAKE_BUILD_TYPE Release)
22+
add_library(coldet STATIC ${SOURCES})

3rdParty/coldet/COPYING

+504
Large diffs are not rendered by default.
+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
</ItemGroup>
13+
<PropertyGroup Label="Globals">
14+
<ProjectGuid>{9E3328FA-38C2-4AB3-B83B-A1AF824B90A6}</ProjectGuid>
15+
<Keyword>Win32Proj</Keyword>
16+
<RootNamespace>libcoldet</RootNamespace>
17+
</PropertyGroup>
18+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20+
<ConfigurationType>StaticLibrary</ConfigurationType>
21+
<UseDebugLibraries>true</UseDebugLibraries>
22+
<PlatformToolset>v110</PlatformToolset>
23+
<CharacterSet>Unicode</CharacterSet>
24+
</PropertyGroup>
25+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
26+
<ConfigurationType>StaticLibrary</ConfigurationType>
27+
<UseDebugLibraries>false</UseDebugLibraries>
28+
<PlatformToolset>v110</PlatformToolset>
29+
<WholeProgramOptimization>true</WholeProgramOptimization>
30+
<CharacterSet>Unicode</CharacterSet>
31+
</PropertyGroup>
32+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
33+
<ImportGroup Label="ExtensionSettings">
34+
</ImportGroup>
35+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
36+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
37+
</ImportGroup>
38+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
39+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40+
</ImportGroup>
41+
<PropertyGroup Label="UserMacros" />
42+
<PropertyGroup />
43+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44+
<ClCompile>
45+
<PrecompiledHeader>
46+
</PrecompiledHeader>
47+
<WarningLevel>Level3</WarningLevel>
48+
<Optimization>Disabled</Optimization>
49+
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
50+
</ClCompile>
51+
<Link>
52+
<SubSystem>Windows</SubSystem>
53+
<GenerateDebugInformation>true</GenerateDebugInformation>
54+
</Link>
55+
</ItemDefinitionGroup>
56+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
57+
<ClCompile>
58+
<WarningLevel>Level3</WarningLevel>
59+
<PrecompiledHeader>
60+
</PrecompiledHeader>
61+
<Optimization>MaxSpeed</Optimization>
62+
<FunctionLevelLinking>true</FunctionLevelLinking>
63+
<IntrinsicFunctions>true</IntrinsicFunctions>
64+
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
65+
</ClCompile>
66+
<Link>
67+
<SubSystem>Windows</SubSystem>
68+
<GenerateDebugInformation>true</GenerateDebugInformation>
69+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
70+
<OptimizeReferences>true</OptimizeReferences>
71+
</Link>
72+
</ItemDefinitionGroup>
73+
<ItemGroup>
74+
<Text Include="ReadMe.txt" />
75+
</ItemGroup>
76+
<ItemGroup>
77+
<ClCompile Include="..\src\box.cpp" />
78+
<ClCompile Include="..\src\box_bld.cpp" />
79+
<ClCompile Include="..\src\cdmath3d.cpp" />
80+
<ClCompile Include="..\src\coldet.cpp" />
81+
<ClCompile Include="..\src\coldet_bld.cpp" />
82+
<ClCompile Include="..\src\multiobject.cpp" />
83+
<ClCompile Include="..\src\mytritri.cpp" />
84+
<ClCompile Include="..\src\sysdep.cpp" />
85+
<ClCompile Include="..\src\tritri.c" />
86+
</ItemGroup>
87+
<ItemGroup>
88+
<ClInclude Include="..\src\bitmatrix.h" />
89+
<ClInclude Include="..\src\box.h" />
90+
<ClInclude Include="..\src\cdmath3d.h" />
91+
<ClInclude Include="..\src\coldet.h" />
92+
<ClInclude Include="..\src\coldetimpl.h" />
93+
<ClInclude Include="..\src\multiobject.h" />
94+
<ClInclude Include="..\src\multi_impl.h" />
95+
<ClInclude Include="..\src\mytritri.h" />
96+
<ClInclude Include="..\src\sweep_prune.h" />
97+
<ClInclude Include="..\src\sysdep.h" />
98+
</ItemGroup>
99+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
100+
<ImportGroup Label="ExtensionTargets">
101+
</ImportGroup>
102+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<Text Include="ReadMe.txt" />
19+
</ItemGroup>
20+
<ItemGroup>
21+
<ClCompile Include="..\src\tritri.c">
22+
<Filter>Source Files</Filter>
23+
</ClCompile>
24+
<ClCompile Include="..\src\box.cpp">
25+
<Filter>Source Files</Filter>
26+
</ClCompile>
27+
<ClCompile Include="..\src\box_bld.cpp">
28+
<Filter>Source Files</Filter>
29+
</ClCompile>
30+
<ClCompile Include="..\src\cdmath3d.cpp">
31+
<Filter>Source Files</Filter>
32+
</ClCompile>
33+
<ClCompile Include="..\src\coldet.cpp">
34+
<Filter>Source Files</Filter>
35+
</ClCompile>
36+
<ClCompile Include="..\src\coldet_bld.cpp">
37+
<Filter>Source Files</Filter>
38+
</ClCompile>
39+
<ClCompile Include="..\src\multiobject.cpp">
40+
<Filter>Source Files</Filter>
41+
</ClCompile>
42+
<ClCompile Include="..\src\mytritri.cpp">
43+
<Filter>Source Files</Filter>
44+
</ClCompile>
45+
<ClCompile Include="..\src\sysdep.cpp">
46+
<Filter>Source Files</Filter>
47+
</ClCompile>
48+
</ItemGroup>
49+
<ItemGroup>
50+
<ClInclude Include="..\src\bitmatrix.h">
51+
<Filter>Header Files</Filter>
52+
</ClInclude>
53+
<ClInclude Include="..\src\box.h">
54+
<Filter>Header Files</Filter>
55+
</ClInclude>
56+
<ClInclude Include="..\src\cdmath3d.h">
57+
<Filter>Header Files</Filter>
58+
</ClInclude>
59+
<ClInclude Include="..\src\coldet.h">
60+
<Filter>Header Files</Filter>
61+
</ClInclude>
62+
<ClInclude Include="..\src\coldetimpl.h">
63+
<Filter>Header Files</Filter>
64+
</ClInclude>
65+
<ClInclude Include="..\src\multi_impl.h">
66+
<Filter>Header Files</Filter>
67+
</ClInclude>
68+
<ClInclude Include="..\src\multiobject.h">
69+
<Filter>Header Files</Filter>
70+
</ClInclude>
71+
<ClInclude Include="..\src\mytritri.h">
72+
<Filter>Header Files</Filter>
73+
</ClInclude>
74+
<ClInclude Include="..\src\sweep_prune.h">
75+
<Filter>Header Files</Filter>
76+
</ClInclude>
77+
<ClInclude Include="..\src\sysdep.h">
78+
<Filter>Header Files</Filter>
79+
</ClInclude>
80+
</ItemGroup>
81+
</Project>

3rdParty/coldet/readme.txt

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
ColDet - 3D Collision Detection Library
2+
Copyright (C) 2000-2013 Amir Geva
3+
4+
5+
Description:
6+
ColDet is a 3D collision detection library, intended for games.
7+
It supports generic polyhedra, and even polygon soups.
8+
9+
Requirements:
10+
It is written in standard (ISO98) C++ and can be compiled on these systems:
11+
Windows: Visual C++ 2005 +
12+
Linux: g++
13+
Other systems that have g++ will probably compile with no modification.
14+
The code is portable to any system with a standard C++ compliant compiler
15+
(as compliant as they get)
16+
17+
Installation:
18+
Use the supplied Visual Studio (2012) project file (libcoldet.vcxproj)
19+
or the makefile (for systems with g++)
20+
In other cases, just create a project/makefile and include all of the source files.
21+
22+
Distribution:
23+
It is distributed under the Library GNU Public License (See the file: COPYING)
24+
Any redistribution of the files in this package must include the entire package.
25+
26+
Contact Information:
27+
Web Site: http://sourceforge.net/projects/coldet/
28+

0 commit comments

Comments
 (0)