mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-07-18 19:41:54 +08:00
Some aseprite loading work. Still need to solve decompression
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user