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
var scene, camera, renderer, composer, box, pointLight, | |
occlusionComposer, occlusionRenderTarget, occlusionBox, lightSphere, | |
angle = 0, | |
DEFAULT_LAYER = 0, | |
OCCLUSION_LAYER = 1; | |
// scene, camera, and renderer as normal for three.js | |
scene = new THREE.Scene(); |
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
namespace YourNamespace | |
{ | |
public interface ITextMeter | |
{ | |
double MeasureTextSize(string text, double width, double fontSize, string fontName = null); | |
} | |
} |
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
package cc.cubone.turbo.core.rom; | |
import android.os.Build; | |
import android.view.Window; | |
import android.view.WindowManager; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
/** |
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
package cc.cubone.turbo.ui.demo; | |
import android.content.Context; | |
import android.graphics.Color; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.os.PersistableBundle; | |
import android.support.annotation.ColorInt; | |
import android.support.v4.view.GravityCompat; | |
import android.support.v4.widget.DrawerLayout; |