Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danzeeeman committed Sep 3, 2020
2 parents 772ea22 + ab43e9d commit d1580d0
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 1 deletion.
80 changes: 80 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,81 @@
###########################
# ignore generated binaries
# but not the data folder
###########################

*/bin/*
!*/bin/data/

#########
# general
#########

*/[Bb]uild/
*/[Oo]bj/
*.o
*/[Dd]ebug*/
*/[Rr]elease*/
*.mode*
*.app/
*.pyc
.svn/
*.log

########################
# IDE files which should
# be ignored
########################

# XCode
*.pbxuser
*.perspective
*.perspectivev3
*.mode1v3
*.mode2v3
# XCode 4
xcuserdata
*.xcworkspace

# Code::Blocks
*.depend
*.layout

# Visual Studio
*.sdf
*.opensdf
*.suo
*.pdb
*.ilk
*.aps
ipch/

# Eclipse
.metadata
local.properties
.externalToolBuilders

##################
# operating system
##################

# Linux
*~
# KDE
.directory
.AppleDouble

# OSX
.DS_Store
*.swp
*~.nib
# Thumbnails
._*

# Windows
# Image file caches
Thumbs.db
# Folder config file
Desktop.ini

# Android
.csettings
1 change: 1 addition & 0 deletions LaserTag2020/src/dataOut/laserSending.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ bool laserSending::setup(string host, int port){
this->port = port;
this->host = host;
bSetup = OSC.setup(host, port);
return bSetup;
}

bool laserSending::isSetup(){
Expand Down
2 changes: 1 addition & 1 deletion LaserTag2020/src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void ofApp::setup(){
ofBackground(0, 0, 0);
ofSetWindowTitle("L.A.S.E.R.TAG 2020");
//for smooth animation
ofSetVerticalSync(true);
ofSetVerticalSync(false);
ofSetFrameRate(60);
init();
appCtrl.setup();
Expand Down
11 changes: 11 additions & 0 deletions LaserTag2020/src/utils/miscUtils.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#ifndef _MISC_UTILS
#define _MISC_UTILS

static float floatAbs(float input){

if(input < 0) return input * -1.0;
return input;
}

#endif

0 comments on commit d1580d0

Please sign in to comment.