This file contains hidden or 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
/* | |
TIME BASED ANIMATION: | |
--------------------- | |
To keep things moving at a constant time-based rate instead of varying | |
frame-based, multiply your movement by APP.deltaTime | |
BAD: 100 pixels per frame (BOO... movement is tied to framerate) | |
var velocity = 100; | |
BETTER: 100 pixels per second (Horray! Framerate independence!) |
This file contains hidden or 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
import java.io.FileReader; | |
import java.io.IOException; | |
import java.io.StreamTokenizer; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: smevok | |
* Date: 05.07.12 |
This file contains hidden or 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
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Iterator; | |
import java.util.LinkedList; | |
import java.util.StringTokenizer; | |
public class Split { | |
private static String string = "a/b/c/d/e/f/g/h/i/j/asd/asdas/dasdjasodjoa/sjd/oajs/djoasjd/as/odj/jaowdj/oajw/odj/aojwd/oja/owjd/oja/wjdoja/wdj/awjdojaw/odj/oawjd/oja/wjdoawjdojaw/d/dff"; |
This file contains hidden or 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
function nullMethod(){ | |
} | |
function FullCube_copy(obj, c){ | |
obj.ul = c.ul; | |
obj.ur = c.ur; | |
obj.dl = c.dl; | |
obj.dr = c.dr; | |
obj.ml = c.ml; |
NewerOlder