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 com.volmit.wormholes.geometry; | |
public class CachedMath | |
{ | |
private static final int precision = 128; | |
private static final int modulus = 360 * precision; | |
private static final float[] sin = new float[modulus]; | |
/** | |
* Fast sin function |
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
//This is the actual class you use for sending titles | |
//This is a cheap / quick wrapper for sending title messages | |
//This will work on 1.8 and 1.9 | |
//THIS REQUIRES CRAFTBUKKIT 1.8 AND 1.9 IN YOUR CLASSPATH | |
package com.glacialrush.plugin; | |
import org.bukkit.Bukkit; | |
import org.bukkit.entity.Player; |