texture update

Former-commit-id: 8b056329db1403b163e635e22141e0d021580805
Former-commit-id: c9e0605ba6021ac4889f199799268df61517a794
This commit is contained in:
Song Minjae
2016-12-22 13:21:03 +09:00
parent c1e7b3537d
commit 611b78ffa5
2 changed files with 3 additions and 3 deletions

View File

@@ -28,9 +28,7 @@ class StateNoiseTexGen : BasicGameState() {
println("Press SPACE to generate new noise")
}
// TODO multithreaded
private fun noiseRidged(): Joise {
val ridged = ModuleFractal()
ridged.setType(ModuleFractal.FractalType.RIDGEMULTI)

View File

@@ -900,6 +900,8 @@ open class ActorWithBody : Actor() {
open fun drawGlow(gc: GameContainer, g: Graphics) {
if (isVisible && spriteGlow != null) {
blendNormal()
if (!sprite!!.flippedHorizontal()) {
spriteGlow!!.render(g,
(hitbox.posX - hitboxTranslateX * scale).toFloat(),