Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions addons/ofxAssimpModelLoader/src/ofxAssimpMeshHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#include "ofxAssimpTexture.h"
#include "ofVbo.h"
#include "ofMesh.h"
#define GLM_FORCE_CTOR_INIT
#define GLM_ENABLE_EXPERIMENTAL
#include "glm/mat4x4.hpp"

struct aiMesh;
Expand Down
3 changes: 0 additions & 3 deletions libs/openFrameworks/3d/ofNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
#pragma once

#include "ofParameter.h"

#define GLM_FORCE_CTOR_INIT
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/quaternion.hpp>

#include <array>
Expand Down
5 changes: 3 additions & 2 deletions libs/openFrameworks/utils/ofTimerFps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ void ofTimerFps::setFps(int fps) {

void ofTimerFps::waitNext() {
// Lazy wakeup
std::this_thread::sleep_until(wakeTime - 36ms); //4ms
std::this_thread::sleep_until(wakeTime - 8ms); //4ms

// Processor Coffee
while(steady_clock::now() < (wakeTime)) { // 0.05ms 0.5us // - 0.5us - 1ns
std::this_thread::yield();
// std::this_thread::yield();
std::this_thread::sleep_for(5us);
}

lastWakeTime = wakeTime;
Expand Down
2 changes: 1 addition & 1 deletion scripts/apothecary
6 changes: 3 additions & 3 deletions scripts/templates/osx/Project.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OF_PATH = ../../..
//UNCOMMENT BELOW TO ENABLE C++ 17 and std::filesystem
CLANG_CXX_LANGUAGE_STANDARD = c++23
CLANG_C_LANGUAGE_STANDARD = c17
MACOSX_DEPLOYMENT_TARGET = 10.15
MACOSX_DEPLOYMENT_TARGET = 11.5

// App Settings
PRODUCT_NAME = $(TARGET_NAME)
Expand All @@ -30,7 +30,7 @@ INFOPLIST_KEY_LSApplicationCategoryType = public.app-category.games
// suggested to use semantic versioning format ala #.#.#
MARKETING_VERSION = 0.1.0

// If users upgrade project to recommended settings it enables script sandboxing which breaks our post build script
// If users upgrade project to recommended settings it enables script sandboxing which breaks our post build script
ENABLE_USER_SCRIPT_SANDBOXING=NO

// this is "Build" in the Xcode target Identity UI, an incremental build number
Expand Down Expand Up @@ -65,7 +65,7 @@ ICON_FILE = $(OF_PATH)/libs/openFrameworksCompiled/project/osx/$(ICON_NAME)

HIGH_RESOLUTION_CAPABLE = NO

// Optional include to keep any permanent settings as CODE_SIGN_IDENTITY.
// Optional include to keep any permanent settings as CODE_SIGN_IDENTITY.
#include? "App.xcconfig"

//FOR AV ENGINE SOUND PLAYER UNCOMMENT THREE LINES BELOW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,4 +323,4 @@
},
"objectVersion" : "54",
"rootObject" : "E4B69B4C0A3A1720003C02F2"
}
}