This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "InterpolationLibrary.h" | |
#include "Kismet/KismetMathLibrary.h" | |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// Critically Damped Spring Interpolations (ie: Similar to Unity's SmoothDamp, but will less operations) | |
// Inspired from Keijiro's code: https://github.com/keijiro/SmoothingTest | |
// Math reference: http://mathproofs.blogspot.jp/2013/07/critically-damped-spring-smoothing.html | |
FVector UInterpolationLibrary::VectorSpringInterpCD(FVector Current, FVector Target, FVector& Velocity, float DeltaTime, float InterpSpeed, float MaxVelocity) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compiled Object files | |
*.slo | |
*.lo | |
*.o | |
*.obj | |
# Precompiled Headers | |
*.gch | |
*.pch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "RotateAroundActor.h" | |
#include "GameFramework/Actor.h" | |
// Sets default values for this component's properties | |
URotateAroundActor::URotateAroundActor() | |
{ | |
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features | |
// off to improve performance if you don't need them. | |
PrimaryComponentTick.bCanEverTick = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wordpress files in the root except the "wp-content" directory. | |
/wp-* | |
# What not ignored | |
!wp-content/ | |
!wp-content/themes/ | |
# Ignore plugins? | |
wp-content/plugins/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "PROJECT_NAME", | |
"version": "0.0.1", | |
"description": "PROJECT_DESCRIPTOIN", | |
"author": "your@email.com", | |
"private": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Arc View | |
* https://gist.github.com/josimard/947aa594aab3b229e1d0 | |
* | |
* Inspired from http://jsfiddle.net/oskar/Aapn8/ | |
* | |
* More cool stuff @ http://padolsey.net/p/Sonic/repo/demo/demo.html | |
* | |
* Example use: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** ////////////////////////////////////////////////////////////////////////////////////////// | |
* | |
* PNG Quant Grunt Task | |
* | |
* To install on OSX: brew install PngQuant | |
* To install on Windows or other OS: http://pngquant.org/ | |
* | |
* https://gist.github.com/josimard/ea29904cb58cc4b13ba6/ | |
* | |
* */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Device info SINGLETON utilty (AMD wrapped) | |
* dependencies: | |
* - jQuery | |
* - Modernizr + Modernizr.touch | |
* | |
* @author jo@josimard.com | |
* | |
* Updates @ https://gist.github.com/josimard/ca4cc8f7d80de0c20bf4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Window scrolling SINGLETON utilities (AMD wrapped) | |
* | |
* IMPORTANT: for ScrollUtil.scrollTo to work, the height of the document must not be fixed. | |
* | |
* So instead of css "body, html {height:100%}" use "body, html {min-height:100%}" | |
* | |
* dependencies: | |
* - jQuery | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Get the latest version @ https://gist.github.com/josimard/cac777fae38ec80e9696#file-grunt-build-utils-js | |
* | |
* Example use: | |
* https://github.com/josimard/angular-requirejs-seed/blob/master/Gruntfile.js | |
* | |
* @author Jo Simard jo@josimard.com | |
*/ | |
// NodeJS module public API |