Some aseprite loading work. Still need to solve decompression

This commit is contained in:
Matt Thorson
2020-05-26 20:30:16 -07:00
parent 524bb14919
commit aed77272ac
4 changed files with 666 additions and 5 deletions

View File

@ -5,6 +5,12 @@ namespace Strawberry
{
static public class Calc
{
[Inline]
static public bool BitCheck(int bits, int pos)
{
return (bits & (1 << pos)) != 0;
}
//Move toward a target value without crossing it
[Inline]
static public float Approach(float value, float target, float maxDelta)