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
//----------------------------------------------------------------------------- | |
// Defines (so this compiles for PS4 or XNA) | |
//----------------------------------------------------------------------------- | |
// PS4 | |
#if __PSSL__ | |
#define DECLARE_TEXTURE(name, index) \ | |
Texture2D name : register(t##index); \ | |
SamplerState name##Sampler : register(s##index) |
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
-- BASIC EASING FUNCIONS CHEAT CHEET | |
-- (most of them are based on glide by Jacob Albano https://github.com/jacobalbano/glide) | |
function ease_linear(t) | |
return t | |
end | |
function ease_cube_in(t) | |
return t * t * t | |
end |