Skip to content

Instantly share code, notes, and snippets.

View ORBAT's full-sized avatar

Tom Eklöf ORBAT

  • Helsinki, Finland
View GitHub Profile
@Tokazama
Tokazama / RefTypes.jl
Created January 13, 2023 17:20
Reference types from A(tomic) to S(tatic)
module RefTypes
import .Base.Sys: ARCH, WORD_SIZE
export
AtomicRef,
ImmutableRef,
MutableRef,
StaticRef,
add!,
@resistcorp
resistcorp / ClippedSprite.as
Created July 12, 2012 18:20 — forked from PrimaryFeather/ClippedSprite.as
Adds nesting to the Clipped Sprites extension in Starling see www.starling-framework.org // now compatible with the latest starling (as of 29 nov. 2012)
package starling.extensions
{
import flash.display3D.Context3D;
import flash.geom.Point;
import flash.geom.Rectangle;
import starling.core.RenderSupport;
import starling.core.Starling;
import starling.display.DisplayObject;
import starling.display.Sprite;
@PrimaryFeather
PrimaryFeather / ClippedSprite.as
Created April 19, 2012 17:02
Simple Sprite subclass with a rectangular mask in stage coordinates
package starling.extensions
{
import flash.display3D.Context3D;
import flash.geom.Point;
import flash.geom.Rectangle;
import starling.core.RenderSupport;
import starling.core.Starling;
import starling.display.DisplayObject;
import starling.display.Sprite;