Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial commit

  • Loading branch information...
commit d3f77cae8c83d22085c3749ecb75fad68b19300f 0 parents
@nathankoch authored
5 .gitignore
@@ -0,0 +1,5 @@
+.DS_Store
+*.mode1v3
+*.pbxuser
+*.app
+bin/
0  README.mdown
No changes.
962 ofxParticleSystem.xcodeproj/project.pbxproj
@@ -0,0 +1,962 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 42;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 8B4C91EB10EA6A9E004AE2EB /* openFrameworksDebug.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B4C917F10EA65FF004AE2EB /* openFrameworksDebug.a */; };
+ D8E413AC11F24FB6007E7089 /* ofxParticleSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D8E413AB11F24FB6007E7089 /* ofxParticleSystem.cpp */; };
+ D8E413AF11F24FBF007E7089 /* ofxParticle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D8E413AE11F24FBF007E7089 /* ofxParticle.cpp */; };
+ D8E413DC11F250F3007E7089 /* ofxQuaternion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D8E413CF11F250F3007E7089 /* ofxQuaternion.cpp */; };
+ D8E413DD11F250F3007E7089 /* ofxMatrix4x4.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D8E413D111F250F3007E7089 /* ofxMatrix4x4.cpp */; };
+ D8E413DE11F250F3007E7089 /* ofxMatrix3x3.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D8E413D311F250F3007E7089 /* ofxMatrix3x3.cpp */; };
+ E45BE0AA0E8CC67C009D7055 /* GLee.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE0A90E8CC67C009D7055 /* GLee.a */; };
+ E45BE2E40E8CC69C009D7055 /* rtAudio.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE2E30E8CC69C009D7055 /* rtAudio.a */; };
+ E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9710E8CC7DD009D7055 /* AGL.framework */; };
+ E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */; };
+ E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */; };
+ E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9740E8CC7DD009D7055 /* Carbon.framework */; };
+ E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */; };
+ E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */; };
+ E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9770E8CC7DD009D7055 /* CoreServices.framework */; };
+ E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9790E8CC7DD009D7055 /* OpenGL.framework */; };
+ E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */; };
+ E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1D0A3A1BDC003C02F2 /* main.cpp */; };
+ E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; };
+ E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424410CC5A17004149E2 /* AppKit.framework */; };
+ E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424510CC5A17004149E2 /* Cocoa.framework */; };
+ E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424610CC5A17004149E2 /* IOKit.framework */; };
+ E4C2426610CC5A78004149E2 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2425F10CC5A78004149E2 /* GLUT.framework */; };
+ E4C2426B10CC5AA6004149E2 /* GLUT.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = E4C2425F10CC5A78004149E2 /* GLUT.framework */; };
+ E4C2427F10CC5B66004149E2 /* CppUnit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2427A10CC5B66004149E2 /* CppUnit.a */; };
+ E4C2428010CC5B66004149E2 /* PocoFoundation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2427B10CC5B66004149E2 /* PocoFoundation.a */; };
+ E4C2428110CC5B66004149E2 /* PocoNet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2427C10CC5B66004149E2 /* PocoNet.a */; };
+ E4C2428210CC5B66004149E2 /* PocoUtil.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2427D10CC5B66004149E2 /* PocoUtil.a */; };
+ E4C2428310CC5B66004149E2 /* PocoXML.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2427E10CC5B66004149E2 /* PocoXML.a */; };
+ E4C2429410CC5C38004149E2 /* freetype.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2429310CC5C38004149E2 /* freetype.a */; };
+ E4C242CD10CC650E004149E2 /* libfmodex.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C242CC10CC650E004149E2 /* libfmodex.dylib */; };
+ E4C246DA10CCAE22004149E2 /* freeimage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C246D910CCAE22004149E2 /* freeimage.a */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 8B4C917E10EA65FF004AE2EB /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 8B4C917A10EA65FF004AE2EB /* openFrameworksLib.xcodeproj */;
+ proxyType = 2;
+ remoteGlobalIDString = E4B27C1510CBEB8E00536013;
+ remoteInfo = openFrameworks;
+ };
+ 8B4C91C210EA67A7004AE2EB /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 8B4C917A10EA65FF004AE2EB /* openFrameworksLib.xcodeproj */;
+ proxyType = 1;
+ remoteGlobalIDString = E4B27C1410CBEB8E00536013;
+ remoteInfo = openFrameworks;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ E4C2427710CC5ABF004149E2 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ E4C2426B10CC5AA6004149E2 /* GLUT.framework in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 8B4C905110EA569F004AE2EB /* ofxParticleSystem-debug.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ofxParticleSystem-debug.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8B4C917A10EA65FF004AE2EB /* openFrameworksLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = openFrameworksLib.xcodeproj; path = ../openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj; sourceTree = "<group>"; };
+ D8E413AA11F24FB6007E7089 /* ofxParticleSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ofxParticleSystem.h; path = src/ofxParticleSystem.h; sourceTree = "<group>"; };
+ D8E413AB11F24FB6007E7089 /* ofxParticleSystem.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ofxParticleSystem.cpp; path = src/ofxParticleSystem.cpp; sourceTree = "<group>"; };
+ D8E413AD11F24FBF007E7089 /* ofxParticle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ofxParticle.h; path = src/ofxParticle.h; sourceTree = "<group>"; };
+ D8E413AE11F24FBF007E7089 /* ofxParticle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ofxParticle.cpp; path = src/ofxParticle.cpp; sourceTree = "<group>"; };
+ D8E413CF11F250F3007E7089 /* ofxQuaternion.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxQuaternion.cpp; sourceTree = "<group>"; };
+ D8E413D011F250F3007E7089 /* ofxQuaternion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxQuaternion.h; sourceTree = "<group>"; };
+ D8E413D111F250F3007E7089 /* ofxMatrix4x4.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxMatrix4x4.cpp; sourceTree = "<group>"; };
+ D8E413D211F250F3007E7089 /* ofxMatrix4x4.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxMatrix4x4.h; sourceTree = "<group>"; };
+ D8E413D311F250F3007E7089 /* ofxMatrix3x3.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxMatrix3x3.cpp; sourceTree = "<group>"; };
+ D8E413D411F250F3007E7089 /* ofxMatrix3x3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxMatrix3x3.h; sourceTree = "<group>"; };
+ D8E413D511F250F3007E7089 /* ofxPoint2f.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxPoint2f.h; sourceTree = "<group>"; };
+ D8E413D611F250F3007E7089 /* ofxPoint3f.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxPoint3f.h; sourceTree = "<group>"; };
+ D8E413D711F250F3007E7089 /* ofxPoint4f.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxPoint4f.h; sourceTree = "<group>"; };
+ D8E413D811F250F3007E7089 /* ofxVec2f.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxVec2f.h; sourceTree = "<group>"; };
+ D8E413D911F250F3007E7089 /* ofxVec3f.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxVec3f.h; sourceTree = "<group>"; };
+ D8E413DA11F250F3007E7089 /* ofxVec4f.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxVec4f.h; sourceTree = "<group>"; };
+ D8E413DB11F250F3007E7089 /* ofxVectorMath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxVectorMath.h; sourceTree = "<group>"; };
+ E45BE0390E8CC647009D7055 /* FreeImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FreeImage.h; path = ../../../libs/freeimage/include/FreeImage.h; sourceTree = SOURCE_ROOT; };
+ E45BE03F0E8CC650009D7055 /* fmod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fmod.h; path = ../../../libs/fmodex/include/fmod.h; sourceTree = SOURCE_ROOT; };
+ E45BE0400E8CC650009D7055 /* fmod.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = fmod.hpp; path = ../../../libs/fmodex/include/fmod.hpp; sourceTree = SOURCE_ROOT; };
+ E45BE0410E8CC650009D7055 /* fmod_codec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fmod_codec.h; path = ../../../libs/fmodex/include/fmod_codec.h; sourceTree = SOURCE_ROOT; };
+ E45BE0420E8CC650009D7055 /* fmod_dsp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fmod_dsp.h; path = ../../../libs/fmodex/include/fmod_dsp.h; sourceTree = SOURCE_ROOT; };
+ E45BE0430E8CC650009D7055 /* fmod_errors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fmod_errors.h; path = ../../../libs/fmodex/include/fmod_errors.h; sourceTree = SOURCE_ROOT; };
+ E45BE0440E8CC650009D7055 /* fmod_output.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fmod_output.h; path = ../../../libs/fmodex/include/fmod_output.h; sourceTree = SOURCE_ROOT; };
+ E45BE0A70E8CC67C009D7055 /* GLee.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GLee.h; path = ../../../libs/GLee/include/GLee.h; sourceTree = SOURCE_ROOT; };
+ E45BE0A90E8CC67C009D7055 /* GLee.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = GLee.a; path = ../../../libs/GLee/lib/osx/GLee.a; sourceTree = SOURCE_ROOT; };
+ E45BE2E00E8CC69C009D7055 /* RtAudio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RtAudio.h; path = ../../../libs/rtAudio/include/RtAudio.h; sourceTree = SOURCE_ROOT; };
+ E45BE2E10E8CC69C009D7055 /* RtError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RtError.h; path = ../../../libs/rtAudio/include/RtError.h; sourceTree = SOURCE_ROOT; };
+ E45BE2E30E8CC69C009D7055 /* rtAudio.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = rtAudio.a; path = ../../../libs/rtAudio/lib/osx/rtAudio.a; sourceTree = SOURCE_ROOT; };
+ E45BE9710E8CC7DD009D7055 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
+ E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
+ E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<absolute>"; };
+ E45BE9740E8CC7DD009D7055 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
+ E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = "<absolute>"; };
+ E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
+ E45BE9770E8CC7DD009D7055 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
+ E45BE9790E8CC7DD009D7055 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
+ E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = "<absolute>"; };
+ E4B69E1D0A3A1BDC003C02F2 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = src/main.cpp; sourceTree = SOURCE_ROOT; };
+ E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = testApp.cpp; path = src/testApp.cpp; sourceTree = SOURCE_ROOT; };
+ E4B69E1F0A3A1BDC003C02F2 /* testApp.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = testApp.h; path = src/testApp.h; sourceTree = SOURCE_ROOT; };
+ E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.xml; path = "openFrameworks-Info.plist"; sourceTree = "<group>"; };
+ E4C2424410CC5A17004149E2 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
+ E4C2424510CC5A17004149E2 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
+ E4C2424610CC5A17004149E2 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; };
+ E4C2425F10CC5A78004149E2 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../libs/glut/lib/osx/GLUT.framework; sourceTree = SOURCE_ROOT; };
+ E4C2427A10CC5B66004149E2 /* CppUnit.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = CppUnit.a; path = ../../../libs/poco/lib/osx/CppUnit.a; sourceTree = SOURCE_ROOT; };
+ E4C2427B10CC5B66004149E2 /* PocoFoundation.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = PocoFoundation.a; path = ../../../libs/poco/lib/osx/PocoFoundation.a; sourceTree = SOURCE_ROOT; };
+ E4C2427C10CC5B66004149E2 /* PocoNet.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = PocoNet.a; path = ../../../libs/poco/lib/osx/PocoNet.a; sourceTree = SOURCE_ROOT; };
+ E4C2427D10CC5B66004149E2 /* PocoUtil.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = PocoUtil.a; path = ../../../libs/poco/lib/osx/PocoUtil.a; sourceTree = SOURCE_ROOT; };
+ E4C2427E10CC5B66004149E2 /* PocoXML.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = PocoXML.a; path = ../../../libs/poco/lib/osx/PocoXML.a; sourceTree = SOURCE_ROOT; };
+ E4C2429310CC5C38004149E2 /* freetype.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = freetype.a; path = ../../../libs/freetype/lib/osx/freetype.a; sourceTree = SOURCE_ROOT; };
+ E4C242CC10CC650E004149E2 /* libfmodex.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libfmodex.dylib; path = ../../../libs/fmodex/lib/osx/libfmodex.dylib; sourceTree = SOURCE_ROOT; };
+ E4C246D910CCAE22004149E2 /* freeimage.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = freeimage.a; path = ../../../libs/FreeImage/lib/osx/freeimage.a; sourceTree = SOURCE_ROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ E4B69B590A3A1756003C02F2 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8B4C91EB10EA6A9E004AE2EB /* openFrameworksDebug.a in Frameworks */,
+ E45BE0AA0E8CC67C009D7055 /* GLee.a in Frameworks */,
+ E45BE2E40E8CC69C009D7055 /* rtAudio.a in Frameworks */,
+ E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */,
+ E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */,
+ E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */,
+ E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */,
+ E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */,
+ E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */,
+ E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */,
+ E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */,
+ E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */,
+ E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */,
+ E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */,
+ E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */,
+ E4C2426610CC5A78004149E2 /* GLUT.framework in Frameworks */,
+ E4C2427F10CC5B66004149E2 /* CppUnit.a in Frameworks */,
+ E4C2428010CC5B66004149E2 /* PocoFoundation.a in Frameworks */,
+ E4C2428110CC5B66004149E2 /* PocoNet.a in Frameworks */,
+ E4C2428210CC5B66004149E2 /* PocoUtil.a in Frameworks */,
+ E4C2428310CC5B66004149E2 /* PocoXML.a in Frameworks */,
+ E4C2429410CC5C38004149E2 /* freetype.a in Frameworks */,
+ E4C242CD10CC650E004149E2 /* libfmodex.dylib in Frameworks */,
+ E4C246DA10CCAE22004149E2 /* freeimage.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 8B0A01FB10E95F5200347BA0 /* openFrameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 8B4C917A10EA65FF004AE2EB /* openFrameworksLib.xcodeproj */,
+ );
+ name = openFrameworks;
+ path = ../../../libs/openFrameworks;
+ sourceTree = SOURCE_ROOT;
+ };
+ 8B4C909610EA6276004AE2EB /* addons */ = {
+ isa = PBXGroup;
+ children = (
+ D8E413CD11F250F3007E7089 /* ofxVectorMath */,
+ );
+ name = addons;
+ sourceTree = "<group>";
+ };
+ 8B4C917B10EA65FF004AE2EB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8B4C917F10EA65FF004AE2EB /* openFrameworksDebug.a */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ D8E413CD11F250F3007E7089 /* ofxVectorMath */ = {
+ isa = PBXGroup;
+ children = (
+ D8E413CE11F250F3007E7089 /* src */,
+ );
+ name = ofxVectorMath;
+ path = ../../../addons/ofxVectorMath;
+ sourceTree = SOURCE_ROOT;
+ };
+ D8E413CE11F250F3007E7089 /* src */ = {
+ isa = PBXGroup;
+ children = (
+ D8E413CF11F250F3007E7089 /* ofxQuaternion.cpp */,
+ D8E413D011F250F3007E7089 /* ofxQuaternion.h */,
+ D8E413D111F250F3007E7089 /* ofxMatrix4x4.cpp */,
+ D8E413D211F250F3007E7089 /* ofxMatrix4x4.h */,
+ D8E413D311F250F3007E7089 /* ofxMatrix3x3.cpp */,
+ D8E413D411F250F3007E7089 /* ofxMatrix3x3.h */,
+ D8E413D511F250F3007E7089 /* ofxPoint2f.h */,
+ D8E413D611F250F3007E7089 /* ofxPoint3f.h */,
+ D8E413D711F250F3007E7089 /* ofxPoint4f.h */,
+ D8E413D811F250F3007E7089 /* ofxVec2f.h */,
+ D8E413D911F250F3007E7089 /* ofxVec3f.h */,
+ D8E413DA11F250F3007E7089 /* ofxVec4f.h */,
+ D8E413DB11F250F3007E7089 /* ofxVectorMath.h */,
+ );
+ path = src;
+ sourceTree = "<group>";
+ };
+ D8E4143411F256F6007E7089 /* ofxParticleSystem */ = {
+ isa = PBXGroup;
+ children = (
+ D8E413AA11F24FB6007E7089 /* ofxParticleSystem.h */,
+ D8E413AB11F24FB6007E7089 /* ofxParticleSystem.cpp */,
+ D8E413AD11F24FBF007E7089 /* ofxParticle.h */,
+ D8E413AE11F24FBF007E7089 /* ofxParticle.cpp */,
+ );
+ name = ofxParticleSystem;
+ sourceTree = "<group>";
+ };
+ E45BE0360E8CC5DE009D7055 /* libs */ = {
+ isa = PBXGroup;
+ children = (
+ E45BEED60E8CCB34009D7055 /* core */,
+ );
+ name = libs;
+ sourceTree = "<group>";
+ };
+ E45BE0370E8CC647009D7055 /* freeimage */ = {
+ isa = PBXGroup;
+ children = (
+ E4C246D810CCAE22004149E2 /* osx */,
+ E45BE0380E8CC647009D7055 /* include */,
+ );
+ name = freeimage;
+ path = ../../../libs/freeimage;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE0380E8CC647009D7055 /* include */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE0390E8CC647009D7055 /* FreeImage.h */,
+ );
+ name = include;
+ path = ../../../libs/freeimage/include;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE03D0E8CC650009D7055 /* fmodex */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE03E0E8CC650009D7055 /* inc */,
+ E4C2428E10CC5C18004149E2 /* osx */,
+ );
+ name = fmodex;
+ path = ../../../libs/fmodex;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE03E0E8CC650009D7055 /* inc */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE03F0E8CC650009D7055 /* fmod.h */,
+ E45BE0400E8CC650009D7055 /* fmod.hpp */,
+ E45BE0410E8CC650009D7055 /* fmod_codec.h */,
+ E45BE0420E8CC650009D7055 /* fmod_dsp.h */,
+ E45BE0430E8CC650009D7055 /* fmod_errors.h */,
+ E45BE0440E8CC650009D7055 /* fmod_output.h */,
+ );
+ name = inc;
+ path = ../../../libs/fmodex/include;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE0480E8CC657009D7055 /* core libraries */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2425B10CC5A78004149E2 /* glut */,
+ E45BEC7B0E8CC911009D7055 /* poco */,
+ E45BE2D50E8CC69C009D7055 /* rtAudio */,
+ E45BE0A50E8CC67C009D7055 /* GLee */,
+ E45BE0490E8CC676009D7055 /* freetype */,
+ E45BE03D0E8CC650009D7055 /* fmodex */,
+ E45BE0370E8CC647009D7055 /* freeimage */,
+ );
+ name = "core libraries";
+ sourceTree = "<group>";
+ };
+ E45BE0490E8CC676009D7055 /* freetype */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2429210CC5C38004149E2 /* osx */,
+ );
+ name = freetype;
+ path = ../../../libs/freetype;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE0A50E8CC67C009D7055 /* GLee */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE0A60E8CC67C009D7055 /* include */,
+ E45BE0A80E8CC67C009D7055 /* lib */,
+ );
+ name = GLee;
+ path = ../../../libs/GLee;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE0A60E8CC67C009D7055 /* include */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE0A70E8CC67C009D7055 /* GLee.h */,
+ );
+ name = include;
+ path = ../../../libs/GLee/include;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE0A80E8CC67C009D7055 /* lib */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE0A90E8CC67C009D7055 /* GLee.a */,
+ );
+ name = lib;
+ path = ../../../libs/GLee/lib/osx;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE2D50E8CC69C009D7055 /* rtAudio */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE2D60E8CC69C009D7055 /* include */,
+ E45BE2E20E8CC69C009D7055 /* lib */,
+ );
+ name = rtAudio;
+ path = ../../../libs/rtAudio;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE2D60E8CC69C009D7055 /* include */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE2D70E8CC69C009D7055 /* asio */,
+ E45BE2E00E8CC69C009D7055 /* RtAudio.h */,
+ E45BE2E10E8CC69C009D7055 /* RtError.h */,
+ );
+ name = include;
+ path = ../../../libs/rtAudio/include;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE2D70E8CC69C009D7055 /* asio */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = asio;
+ path = ../../../libs/rtAudio/include/asio;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE2E20E8CC69C009D7055 /* lib */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE2E30E8CC69C009D7055 /* rtAudio.a */,
+ );
+ name = lib;
+ path = ../../../libs/rtAudio/lib/osx;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BE5980E8CC70C009D7055 /* core frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2424410CC5A17004149E2 /* AppKit.framework */,
+ E4C2424510CC5A17004149E2 /* Cocoa.framework */,
+ E4C2424610CC5A17004149E2 /* IOKit.framework */,
+ E45BE9710E8CC7DD009D7055 /* AGL.framework */,
+ E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */,
+ E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */,
+ E45BE9740E8CC7DD009D7055 /* Carbon.framework */,
+ E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */,
+ E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */,
+ E45BE9770E8CC7DD009D7055 /* CoreServices.framework */,
+ E45BE9790E8CC7DD009D7055 /* OpenGL.framework */,
+ E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */,
+ );
+ name = "core frameworks";
+ sourceTree = "<group>";
+ };
+ E45BEC7B0E8CC911009D7055 /* poco */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2427910CC5B66004149E2 /* osx */,
+ );
+ name = poco;
+ path = ../../../libs/poco;
+ sourceTree = SOURCE_ROOT;
+ };
+ E45BEED60E8CCB34009D7055 /* core */ = {
+ isa = PBXGroup;
+ children = (
+ E45BE0480E8CC657009D7055 /* core libraries */,
+ E45BE5980E8CC70C009D7055 /* core frameworks */,
+ );
+ name = core;
+ sourceTree = "<group>";
+ };
+ E4B69B4A0A3A1720003C02F2 = {
+ isa = PBXGroup;
+ children = (
+ D8E4143411F256F6007E7089 /* ofxParticleSystem */,
+ E4B69E1C0A3A1BDC003C02F2 /* src */,
+ 8B4C909610EA6276004AE2EB /* addons */,
+ 8B0A01FB10E95F5200347BA0 /* openFrameworks */,
+ E45BE0360E8CC5DE009D7055 /* libs */,
+ 8B4C905110EA569F004AE2EB /* ofxParticleSystem-debug.app */,
+ E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */,
+ );
+ sourceTree = "<group>";
+ };
+ E4B69E1C0A3A1BDC003C02F2 /* src */ = {
+ isa = PBXGroup;
+ children = (
+ E4B69E1D0A3A1BDC003C02F2 /* main.cpp */,
+ E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */,
+ E4B69E1F0A3A1BDC003C02F2 /* testApp.h */,
+ );
+ path = src;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4C2425B10CC5A78004149E2 /* glut */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2425D10CC5A78004149E2 /* lib */,
+ );
+ name = glut;
+ path = ../../../libs/glut;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4C2425D10CC5A78004149E2 /* lib */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2425E10CC5A78004149E2 /* osx */,
+ );
+ name = lib;
+ path = ../../../libs/glut/lib;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4C2425E10CC5A78004149E2 /* osx */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2425F10CC5A78004149E2 /* GLUT.framework */,
+ );
+ name = osx;
+ path = ../../../libs/glut/lib/osx;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4C2427910CC5B66004149E2 /* osx */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2427A10CC5B66004149E2 /* CppUnit.a */,
+ E4C2427B10CC5B66004149E2 /* PocoFoundation.a */,
+ E4C2427C10CC5B66004149E2 /* PocoNet.a */,
+ E4C2427D10CC5B66004149E2 /* PocoUtil.a */,
+ E4C2427E10CC5B66004149E2 /* PocoXML.a */,
+ );
+ name = osx;
+ path = ../../../libs/poco/lib/osx;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4C2428E10CC5C18004149E2 /* osx */ = {
+ isa = PBXGroup;
+ children = (
+ E4C242CC10CC650E004149E2 /* libfmodex.dylib */,
+ );
+ name = osx;
+ path = ../../../libs/fmodex/lib/osx;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4C2429210CC5C38004149E2 /* osx */ = {
+ isa = PBXGroup;
+ children = (
+ E4C2429310CC5C38004149E2 /* freetype.a */,
+ );
+ name = osx;
+ path = ../../../libs/freetype/lib/osx;
+ sourceTree = SOURCE_ROOT;
+ };
+ E4C246D810CCAE22004149E2 /* osx */ = {
+ isa = PBXGroup;
+ children = (
+ E4C246D910CCAE22004149E2 /* freeimage.a */,
+ );
+ name = osx;
+ path = ../../../libs/FreeImage/lib/osx;
+ sourceTree = SOURCE_ROOT;
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ E4B69B5A0A3A1756003C02F2 /* Desktop Application */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "Desktop Application" */;
+ buildPhases = (
+ E4B69B580A3A1756003C02F2 /* Sources */,
+ E4B69B590A3A1756003C02F2 /* Frameworks */,
+ E4B6FFFD0C3F9AB9008CF71C /* ShellScript */,
+ E4C2427710CC5ABF004149E2 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 8B4C91C310EA67A7004AE2EB /* PBXTargetDependency */,
+ );
+ name = "Desktop Application";
+ productName = myOFApp;
+ productReference = 8B4C905110EA569F004AE2EB /* ofxParticleSystem-debug.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ E4B69B4C0A3A1720003C02F2 /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "ofxParticleSystem" */;
+ compatibilityVersion = "Xcode 2.4";
+ hasScannedForEncodings = 0;
+ mainGroup = E4B69B4A0A3A1720003C02F2;
+ productRefGroup = E4B69B4A0A3A1720003C02F2;
+ projectDirPath = "";
+ projectReferences = (
+ {
+ ProductGroup = 8B4C917B10EA65FF004AE2EB /* Products */;
+ ProjectRef = 8B4C917A10EA65FF004AE2EB /* openFrameworksLib.xcodeproj */;
+ },
+ );
+ projectRoot = "";
+ targets = (
+ E4B69B5A0A3A1756003C02F2 /* Desktop Application */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXReferenceProxy section */
+ 8B4C917F10EA65FF004AE2EB /* openFrameworksDebug.a */ = {
+ isa = PBXReferenceProxy;
+ fileType = archive.ar;
+ path = openFrameworksDebug.a;
+ remoteRef = 8B4C917E10EA65FF004AE2EB /* PBXContainerItemProxy */;
+ sourceTree = BUILT_PRODUCTS_DIR;
+ };
+/* End PBXReferenceProxy section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ E4B6FFFD0C3F9AB9008CF71C /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "cp -f ../../../libs/fmodex/lib/osx/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/libfmodex.dylib\"\ninstall_name_tool -change ./libfmodex.dylib @executable_path/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME\" ";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ E4B69B580A3A1756003C02F2 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */,
+ E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */,
+ D8E413AC11F24FB6007E7089 /* ofxParticleSystem.cpp in Sources */,
+ D8E413AF11F24FBF007E7089 /* ofxParticle.cpp in Sources */,
+ D8E413DC11F250F3007E7089 /* ofxQuaternion.cpp in Sources */,
+ D8E413DD11F250F3007E7089 /* ofxMatrix4x4.cpp in Sources */,
+ D8E413DE11F250F3007E7089 /* ofxMatrix3x3.cpp in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 8B4C91C310EA67A7004AE2EB /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ name = openFrameworks;
+ targetProxy = 8B4C91C210EA67A7004AE2EB /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin XCBuildConfiguration section */
+ E4B27CA010CBF8A600536013 /* ReleaseUniversal */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = (
+ ppc,
+ i386,
+ );
+ CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/";
+ COPY_PHASE_STRIP = YES;
+ DEAD_CODE_STRIPPING = YES;
+ GCC_AUTO_VECTORIZATION = YES;
+ GCC_ENABLE_SSE3_EXTENSIONS = YES;
+ GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 3;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_UNROLL_LOOPS = YES;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+ GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
+ GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
+ GCC_WARN_UNINITIALIZED_AUTOS = NO;
+ GCC_WARN_UNUSED_VALUE = NO;
+ GCC_WARN_UNUSED_VARIABLE = NO;
+ HEADER_SEARCH_PATHS = (
+ "../../../libs/openFrameworks/**",
+ ../../../libs/freetype/include/,
+ ../../../libs/freetype/include/freetype2,
+ ../../../libs/poco/include,
+ );
+ INFOPLIST_FILE = "";
+ INSTALL_PATH = "$(HOME)/Applications";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ );
+ OTHER_CPLUSPLUSFLAGS = (
+ "-D__MACOSX_CORE__",
+ "-lpthread",
+ );
+ OTHER_LDFLAGS = "";
+ PRIVATE_HEADERS_FOLDER_PATH = "";
+ PRODUCT_NAME = "";
+ PUBLIC_HEADERS_FOLDER_PATH = "";
+ VERSION_INFO_BUILDER = "";
+ VERSION_INFO_FILE = "";
+ WRAPPER_EXTENSION = "";
+ };
+ name = ReleaseUniversal;
+ };
+ E4B27CA110CBF8A600536013 /* ReleaseUniversal */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ );
+ FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/glut/lib/osx\"";
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_MODEL_TUNING = G4;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ INFOPLIST_FILE = "openFrameworks-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/freeimage/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14 = "\"$(SRCROOT)/../../../libs/fmodex/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15 = "\"$(SRCROOT)/../../../libs/freetype/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../../../libs/FreeImage/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3 = "\"$(SRCROOT)/../../../libs/openFrameworksCompiled/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4 = "\"$(SRCROOT)/../../../libs/GLee/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5 = "\"$(SRCROOT)/../../../libs/poco/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6 = "\"$(SRCROOT)/../../../libs/rtAudio/lib/osx\"";
+ PREBINDING = NO;
+ PRIVATE_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/PrivateHeaders";
+ PRODUCT_NAME = "ofxParticleSystem-Universal";
+ PUBLIC_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Headers";
+ VERSION_INFO_BUILDER = "$(USER)";
+ VERSION_INFO_FILE = "$(PRODUCT_NAME)_vers.c";
+ WRAPPER_EXTENSION = app;
+ ZERO_LINK = NO;
+ };
+ name = ReleaseUniversal;
+ };
+ E4B69B4E0A3A1720003C02F2 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(NATIVE_ARCH)";
+ CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/";
+ COPY_PHASE_STRIP = NO;
+ DEAD_CODE_STRIPPING = YES;
+ GCC_AUTO_VECTORIZATION = YES;
+ GCC_ENABLE_SSE3_EXTENSIONS = YES;
+ GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+ GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
+ GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
+ GCC_WARN_UNINITIALIZED_AUTOS = NO;
+ GCC_WARN_UNUSED_VALUE = NO;
+ GCC_WARN_UNUSED_VARIABLE = NO;
+ GENERATE_PKGINFO_FILE = NO;
+ HEADER_SEARCH_PATHS = (
+ "../../../libs/openFrameworks/**",
+ ../../../libs/freetype/include/,
+ ../../../libs/freetype/include/freetype2,
+ ../../../libs/poco/include,
+ );
+ INFOPLIST_FILE = "";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ );
+ OTHER_CPLUSPLUSFLAGS = (
+ "-D__MACOSX_CORE__",
+ "-lpthread",
+ );
+ OTHER_LDFLAGS = "";
+ PRIVATE_HEADERS_FOLDER_PATH = "";
+ PRODUCT_NAME = "";
+ PUBLIC_HEADERS_FOLDER_PATH = "";
+ VERSION_INFO_BUILDER = "";
+ VERSION_INFO_FILE = "";
+ };
+ name = Debug;
+ };
+ E4B69B4F0A3A1720003C02F2 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(NATIVE_ARCH)";
+ CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/";
+ COPY_PHASE_STRIP = YES;
+ DEAD_CODE_STRIPPING = YES;
+ DSTROOT = "/tmp/$(PROJECT_NAME).dst";
+ GCC_AUTO_VECTORIZATION = YES;
+ GCC_ENABLE_SSE3_EXTENSIONS = YES;
+ GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 3;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_UNROLL_LOOPS = YES;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+ GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
+ GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
+ GCC_WARN_UNINITIALIZED_AUTOS = NO;
+ GCC_WARN_UNUSED_VALUE = NO;
+ GCC_WARN_UNUSED_VARIABLE = NO;
+ HEADER_SEARCH_PATHS = (
+ "../../../libs/openFrameworks/**",
+ ../../../libs/freetype/include/,
+ ../../../libs/freetype/include/freetype2,
+ ../../../libs/poco/include,
+ );
+ INFOPLIST_FILE = "";
+ INSTALL_PATH = "$(HOME)/Applications";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ );
+ MACH_O_TYPE = mh_execute;
+ OTHER_CPLUSPLUSFLAGS = (
+ "-D__MACOSX_CORE__",
+ "-lpthread",
+ );
+ OTHER_LDFLAGS = "";
+ PRIVATE_HEADERS_FOLDER_PATH = "";
+ PRODUCT_NAME = "";
+ PUBLIC_HEADERS_FOLDER_PATH = "";
+ VERSION_INFO_BUILDER = "";
+ VERSION_INFO_FILE = "";
+ WRAPPER_EXTENSION = "";
+ };
+ name = Release;
+ };
+ E4B69B600A3A1757003C02F2 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ );
+ FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/glut/lib/osx\"";
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_MODEL_TUNING = G4;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ INFOPLIST_FILE = "openFrameworks-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/freeimage/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14 = "\"$(SRCROOT)/../../../libs/fmodex/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15 = "\"$(SRCROOT)/../../../libs/freetype/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../../../libs/FreeImage/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4 = "\"$(SRCROOT)/../../../libs/GLee/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5 = "\"$(SRCROOT)/../../../libs/poco/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6 = "\"$(SRCROOT)/../../../libs/rtAudio/lib/osx\"";
+ PREBINDING = NO;
+ PRIVATE_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/PrivateHeaders";
+ PRODUCT_NAME = "ofxParticleSystem-debug";
+ PUBLIC_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Headers";
+ VERSION_INFO_BUILDER = "$(USER)";
+ VERSION_INFO_FILE = "$(PRODUCT_NAME)_vers.c";
+ WRAPPER_EXTENSION = app;
+ ZERO_LINK = NO;
+ };
+ name = Debug;
+ };
+ E4B69B610A3A1757003C02F2 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ );
+ FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/glut/lib/osx\"";
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_MODEL_TUNING = G4;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ INFOPLIST_FILE = "openFrameworks-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/freeimage/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14 = "\"$(SRCROOT)/../../../libs/fmodex/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15 = "\"$(SRCROOT)/../../../libs/freetype/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../../../libs/FreeImage/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3 = "\"$(SRCROOT)/../../../libs/openFrameworksCompiled/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4 = "\"$(SRCROOT)/../../../libs/GLee/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5 = "\"$(SRCROOT)/../../../libs/poco/lib/osx\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6 = "\"$(SRCROOT)/../../../libs/rtAudio/lib/osx\"";
+ PREBINDING = NO;
+ PRIVATE_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/PrivateHeaders";
+ PRODUCT_NAME = ofxParticleSystem;
+ PUBLIC_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Headers";
+ VERSION_INFO_BUILDER = "$(USER)";
+ VERSION_INFO_FILE = "$(PRODUCT_NAME)_vers.c";
+ WRAPPER_EXTENSION = app;
+ ZERO_LINK = NO;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "ofxParticleSystem" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E4B69B4E0A3A1720003C02F2 /* Debug */,
+ E4B69B4F0A3A1720003C02F2 /* Release */,
+ E4B27CA010CBF8A600536013 /* ReleaseUniversal */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "Desktop Application" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E4B69B600A3A1757003C02F2 /* Debug */,
+ E4B69B610A3A1757003C02F2 /* Release */,
+ E4B27CA110CBF8A600536013 /* ReleaseUniversal */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = E4B69B4C0A3A1720003C02F2 /* Project object */;
+}
20 openFrameworks-Info.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.yourcompany.openFrameworks</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+</dict>
+</plist>
16 src/main.cpp
@@ -0,0 +1,16 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+
+//========================================================================
+int main( ){
+
+ ofAppGlutWindow window;
+ ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context
+
+ // this kicks off the running of my app
+ // can be OF_WINDOW or OF_FULLSCREEN
+ // pass in width and height too:
+ ofRunApp( new testApp());
+
+}
61 src/ofxParticle.cpp
@@ -0,0 +1,61 @@
+/*
+ * Particle.cpp
+ * ParticleSystem
+ *
+ * Created by nathan_laptop on 7/17/10.
+ * Copyright 2010 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#include "ofxParticle.h"
+
+ofxParticle::ofxParticle() {
+ loc = ofxVec2f(ofRandom( 0, ofGetWidth()), ofRandom(0, ofGetHeight()));
+ vel = ofxVec2f(0, 0 );
+ accel = ofxVec2f(0, 0 );
+ mass = 1.0;
+ bounce = 1.0;
+ topSpeed = 20;
+ radius = 1;
+ color = ofColor();
+}
+
+void ofxParticle::update() {
+ checkEdges();
+ vel += accel;
+ vel.limit(topSpeed);
+ loc += vel;
+ accel = ofxVec2f(0, 0 );
+}
+
+void ofxParticle::addForce( ofxVec2f force) {
+ force = force / mass;
+ accel += force;
+}
+
+void ofxParticle::draw() {
+ ofSetColor(color.r, color.g, color.b, color.a);
+ ofRect(loc.x, loc.y, radius, radius);
+}
+
+void ofxParticle::checkEdges() {
+ int wh = ofGetHeight();
+ int ww = ofGetWidth();
+
+ if (loc.y > wh) {
+ vel.y *= -bounce;
+ loc.y = wh - 2;
+ }
+ if (loc.y < 1) {
+ vel.y *= -bounce;
+ loc.y = 2;
+ }
+ if (loc.x > ww) {
+ vel.x *= -bounce;
+ loc.x = ww - 2;
+ }
+ if (loc.x < 1) {
+ vel.x *= -bounce;
+ loc.x = 2;
+ }
+}
37 src/ofxParticle.h
@@ -0,0 +1,37 @@
+/*
+ * Particle.h
+ * ParticleSystem
+ *
+ * Created by nathan_laptop on 7/17/10.
+ * Copyright 2010 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#pragma once
+#include "ofMain.h"
+#include "ofxVectorMath.h"
+
+class ofxParticle {
+public:
+
+ // constructors
+ ofxParticle();
+
+ // methods
+ void update();
+ void addForce(ofxVec2f force);
+ void draw();
+ void checkEdges();
+
+ // properties
+ ofxVec2f loc;
+ ofxVec2f vel;
+ ofxVec2f accel;
+
+ float mass;
+ float topSpeed;
+ float bounce;
+ float radius;
+
+ ofColor color;
+};
53 src/ofxParticleSystem.cpp
@@ -0,0 +1,53 @@
+/*
+ * ofxParticleSystem.cpp
+ * ofxParticleSystem
+ *
+ * Created by nathan_laptop on 7/17/10.
+ * Copyright 2010 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#include "ofxParticleSystem.h"
+
+ofxParticleSystem::ofxParticleSystem() {
+}
+
+ofxParticleSystem::ofxParticleSystem(int initialAmount) {
+ addParticles(initialAmount);
+}
+
+void ofxParticleSystem::update() {
+ for ( list<ofxParticle>::iterator p = particles.begin(); p != particles.end(); ++p) {
+ p->update();
+ }
+}
+
+void ofxParticleSystem::addForce(ofxVec2f force) {
+ for ( list<ofxParticle>::iterator p = particles.begin(); p != particles.end(); ++p) {
+ p->addForce(force);
+ }
+}
+
+void ofxParticleSystem::draw() {
+ for ( list<ofxParticle>::iterator p = particles.begin(); p != particles.end(); ++p) {
+ p->draw();
+ }
+}
+
+void ofxParticleSystem::addParticles( int amount ) {
+ for (int i = 0; i < amount; i++) {
+ particles.push_back( ofxParticle() );
+ }
+}
+
+void ofxParticleSystem::removeParticles( int amount ) {
+ for (int i = 0; i < amount; i++) {
+ if (!particles.empty()) {
+ particles.pop_back();
+ }
+ }
+}
+
+int ofxParticleSystem::numParticles() {
+ return particles.size();
+}
31 src/ofxParticleSystem.h
@@ -0,0 +1,31 @@
+/*
+ * ofxParticleSystem.h
+ * ofxParticleSystem
+ *
+ * Created by nathan_laptop on 7/17/10.
+ * Copyright 2010 __MyCompanyName__. All rights reserved.
+ *
+ */
+#pragma once
+#include "ofxParticle.h"
+#include "ofxVectorMath.h"
+
+class ofxParticleSystem {
+public:
+ // constructors
+ ofxParticleSystem();
+ ofxParticleSystem(int initialAmount);
+
+ // methods
+ void update();
+ void addForce(ofxVec2f force);
+ void draw();
+
+ void addParticles(int amount);
+ void removeParticles(int amount);
+
+ int numParticles();
+
+ // properties
+ std::list<ofxParticle> particles;
+};
52 src/testApp.cpp
@@ -0,0 +1,52 @@
+#include "testApp.h"
+
+//--------------------------------------------------------------
+void testApp::setup(){
+
+}
+
+//--------------------------------------------------------------
+void testApp::update(){
+
+}
+
+//--------------------------------------------------------------
+void testApp::draw(){
+
+}
+
+//--------------------------------------------------------------
+void testApp::keyPressed(int key){
+
+}
+
+//--------------------------------------------------------------
+void testApp::keyReleased(int key){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseMoved(int x, int y ){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseDragged(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mousePressed(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseReleased(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::windowResized(int w, int h){
+
+}
+
24 src/testApp.h
@@ -0,0 +1,24 @@
+#ifndef _TEST_APP
+#define _TEST_APP
+
+
+#include "ofMain.h"
+
+class testApp : public ofBaseApp{
+
+ public:
+ void setup();
+ void update();
+ void draw();
+
+ void keyPressed (int key);
+ void keyReleased(int key);
+ void mouseMoved(int x, int y );
+ void mouseDragged(int x, int y, int button);
+ void mousePressed(int x, int y, int button);
+ void mouseReleased(int x, int y, int button);
+ void windowResized(int w, int h);
+
+};
+
+#endif
Please sign in to comment.
Something went wrong with that request. Please try again.