diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4640ebb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.xcodeproj diff --git a/Fields.xcodeproj/project.pbxproj b/Fields.xcodeproj/project.pbxproj deleted file mode 100644 index 9f2e513..0000000 --- a/Fields.xcodeproj/project.pbxproj +++ /dev/null @@ -1,380 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - 9227913421D266F2009DB236 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9227913321D266F2009DB236 /* wav.cpp */; }; - 9227913721D355F8009DB236 /* hsv.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9227913621D355F8009DB236 /* hsv.cpp */; }; - 92B75C4021C24AB600DA2DF9 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 92B75C3F21C24AB600DA2DF9 /* main.cpp */; }; - 92B75C4821C2513C00DA2DF9 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92B75C4721C2513C00DA2DF9 /* GLUT.framework */; }; - 92B75C4A21C2514200DA2DF9 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92B75C4921C2514200DA2DF9 /* OpenGL.framework */; }; - 92B75C4D21C2602000DA2DF9 /* graphs.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 92B75C4C21C2602000DA2DF9 /* graphs.cpp */; }; - 92B75C5021C2B69100DA2DF9 /* fields.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 92B75C4E21C2B69100DA2DF9 /* fields.cpp */; }; - 92B75C5221C2CCC700DA2DF9 /* libfreetype.6.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 92B75C5121C2CCC700DA2DF9 /* libfreetype.6.dylib */; }; - 92B75C5921C2D21E00DA2DF9 /* libglm_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 92B75C5821C2D21E00DA2DF9 /* libglm_static.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 92B75C3A21C24AB600DA2DF9 /* Copy Files */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = /usr/share/man/man1/; - dstSubfolderSpec = 0; - files = ( - ); - name = "Copy Files"; - runOnlyForDeploymentPostprocessing = 1; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 9227913221D266DE009DB236 /* wav.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = wav.hpp; sourceTree = ""; }; - 9227913321D266F2009DB236 /* wav.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wav.cpp; sourceTree = ""; }; - 9227913521D269C1009DB236 /* type.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = type.hpp; sourceTree = ""; }; - 9227913621D355F8009DB236 /* hsv.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hsv.cpp; sourceTree = ""; }; - 9227913821D3567F009DB236 /* hsv.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = hsv.hpp; sourceTree = ""; }; - 92B75C3C21C24AB600DA2DF9 /* Fields */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Fields; sourceTree = BUILT_PRODUCTS_DIR; }; - 92B75C3F21C24AB600DA2DF9 /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; - 92B75C4721C2513C00DA2DF9 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = System/Library/Frameworks/GLUT.framework; sourceTree = SDKROOT; }; - 92B75C4921C2514200DA2DF9 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = System/Library/Frameworks/OpenGL.framework; sourceTree = SDKROOT; }; - 92B75C4B21C2602000DA2DF9 /* graphs.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = graphs.hpp; sourceTree = ""; }; - 92B75C4C21C2602000DA2DF9 /* graphs.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = graphs.cpp; sourceTree = ""; }; - 92B75C4E21C2B69100DA2DF9 /* fields.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = fields.cpp; sourceTree = ""; }; - 92B75C4F21C2B69100DA2DF9 /* fields.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = fields.hpp; sourceTree = ""; }; - 92B75C5121C2CCC700DA2DF9 /* libfreetype.6.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libfreetype.6.dylib; path = ../../../../../usr/local/lib/libfreetype.6.dylib; sourceTree = ""; }; - 92B75C5621C2D1E500DA2DF9 /* libglm_shared.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libglm_shared.dylib; path = ../../../../../usr/local/include/glm/libglm_shared.dylib; sourceTree = ""; }; - 92B75C5821C2D21E00DA2DF9 /* libglm_static.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libglm_static.a; path = ../../../../../usr/local/include/glm/libglm_static.a; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 92B75C3921C24AB600DA2DF9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 92B75C5221C2CCC700DA2DF9 /* libfreetype.6.dylib in Frameworks */, - 92B75C4A21C2514200DA2DF9 /* OpenGL.framework in Frameworks */, - 92B75C5921C2D21E00DA2DF9 /* libglm_static.a in Frameworks */, - 92B75C4821C2513C00DA2DF9 /* GLUT.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 9227913021D2660B009DB236 /* unix */ = { - isa = PBXGroup; - children = ( - 92B75C3F21C24AB600DA2DF9 /* main.cpp */, - ); - path = unix; - sourceTree = ""; - }; - 9227913121D26676009DB236 /* include */ = { - isa = PBXGroup; - children = ( - 92B75C4F21C2B69100DA2DF9 /* fields.hpp */, - 92B75C4B21C2602000DA2DF9 /* graphs.hpp */, - 9227913221D266DE009DB236 /* wav.hpp */, - 9227913521D269C1009DB236 /* type.hpp */, - 9227913821D3567F009DB236 /* hsv.hpp */, - ); - path = include; - sourceTree = ""; - }; - 92B75C3321C24AB600DA2DF9 = { - isa = PBXGroup; - children = ( - 9227913121D26676009DB236 /* include */, - 9227913021D2660B009DB236 /* unix */, - 92B75C3E21C24AB600DA2DF9 /* src */, - 92B75C3D21C24AB600DA2DF9 /* Products */, - 92B75C4621C2513C00DA2DF9 /* Frameworks */, - ); - sourceTree = ""; - }; - 92B75C3D21C24AB600DA2DF9 /* Products */ = { - isa = PBXGroup; - children = ( - 92B75C3C21C24AB600DA2DF9 /* Fields */, - ); - name = Products; - sourceTree = ""; - }; - 92B75C3E21C24AB600DA2DF9 /* src */ = { - isa = PBXGroup; - children = ( - 9227913321D266F2009DB236 /* wav.cpp */, - 9227913621D355F8009DB236 /* hsv.cpp */, - 92B75C4E21C2B69100DA2DF9 /* fields.cpp */, - 92B75C4C21C2602000DA2DF9 /* graphs.cpp */, - ); - path = src; - sourceTree = ""; - }; - 92B75C4621C2513C00DA2DF9 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 92B75C5821C2D21E00DA2DF9 /* libglm_static.a */, - 92B75C5621C2D1E500DA2DF9 /* libglm_shared.dylib */, - 92B75C5121C2CCC700DA2DF9 /* libfreetype.6.dylib */, - 92B75C4921C2514200DA2DF9 /* OpenGL.framework */, - 92B75C4721C2513C00DA2DF9 /* GLUT.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 92B75C3B21C24AB600DA2DF9 /* Fields */ = { - isa = PBXNativeTarget; - buildConfigurationList = 92B75C4321C24AB600DA2DF9 /* Build configuration list for PBXNativeTarget "Fields" */; - buildPhases = ( - 92B75C3821C24AB600DA2DF9 /* Sources */, - 92B75C3921C24AB600DA2DF9 /* Frameworks */, - 92B75C3A21C24AB600DA2DF9 /* Copy Files */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Fields; - productName = Fields; - productReference = 92B75C3C21C24AB600DA2DF9 /* Fields */; - productType = "com.apple.product-type.tool"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 92B75C3421C24AB600DA2DF9 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1010; - ORGANIZATIONNAME = Bakantu; - TargetAttributes = { - 92B75C3B21C24AB600DA2DF9 = { - CreatedOnToolsVersion = 10.1; - }; - }; - }; - buildConfigurationList = 92B75C3721C24AB600DA2DF9 /* Build configuration list for PBXProject "Fields" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 92B75C3321C24AB600DA2DF9; - productRefGroup = 92B75C3D21C24AB600DA2DF9 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 92B75C3B21C24AB600DA2DF9 /* Fields */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 92B75C3821C24AB600DA2DF9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 92B75C4D21C2602000DA2DF9 /* graphs.cpp in Sources */, - 9227913721D355F8009DB236 /* hsv.cpp in Sources */, - 92B75C4021C24AB600DA2DF9 /* main.cpp in Sources */, - 9227913421D266F2009DB236 /* wav.cpp in Sources */, - 92B75C5021C2B69100DA2DF9 /* fields.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 92B75C4121C24AB600DA2DF9 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - 92B75C4221C24AB600DA2DF9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = macosx; - }; - name = Release; - }; - 92B75C4421C24AB600DA2DF9 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - HEADER_SEARCH_PATHS = ( - "/usr/local/include/freetype2/**", - "/usr/local/include/glm/**", - "/usr/local/Cellar/glew/2.1.0/**", - "/usr/local/Cellar/glfw/3.2.1/**", - "\"$(SRCROOT)/include\"", - ); - LIBRARY_SEARCH_PATHS = ( - /usr/local/lib, - /usr/local/include/glm, - ); - OTHER_CPLUSPLUSFLAGS = ( - "$(OTHER_CFLAGS)", - "-Wno-deprecated-declarations", - "-v", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 92B75C4521C24AB600DA2DF9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - HEADER_SEARCH_PATHS = ( - "/usr/local/include/freetype2/**", - "/usr/local/include/glm/**", - "/usr/local/Cellar/glew/2.1.0/**", - "/usr/local/Cellar/glfw/3.2.1/**", - "\"$(SRCROOT)/include\"", - ); - LIBRARY_SEARCH_PATHS = ( - /usr/local/lib, - /usr/local/include/glm, - ); - OTHER_CPLUSPLUSFLAGS = ( - "$(OTHER_CFLAGS)", - "-Wno-deprecated-declarations", - "-v", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 92B75C3721C24AB600DA2DF9 /* Build configuration list for PBXProject "Fields" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 92B75C4121C24AB600DA2DF9 /* Debug */, - 92B75C4221C24AB600DA2DF9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 92B75C4321C24AB600DA2DF9 /* Build configuration list for PBXNativeTarget "Fields" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 92B75C4421C24AB600DA2DF9 /* Debug */, - 92B75C4521C24AB600DA2DF9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 92B75C3421C24AB600DA2DF9 /* Project object */; -} diff --git a/Fields.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Fields.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/Fields.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Fields.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Fields.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Fields.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Fields.xcodeproj/xcuserdata/huyibing.xcuserdatad/xcschemes/xcschememanagement.plist b/Fields.xcodeproj/xcuserdata/huyibing.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 12b015f..0000000 --- a/Fields.xcodeproj/xcuserdata/huyibing.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,14 +0,0 @@ - - - - - SchemeUserState - - Fields.xcscheme_^#shared#^_ - - orderHint - 0 - - - -