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 program modify by resa cr | |
*/ | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.io.IOException; | |
import javax.swing.JOptionPane; | |
public class HitungLuasBangun | |
{ |
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
// ------------------------------------------------------------------------- | |
// Filename: astar.h | |
// Version: 1.24 | |
// Date: 2002/03/08 | |
// Purpose: Provide template for a* algorythm | |
// (c) T.Frogley 1999-2002 | |
// ------------------------------------------------------------------------- | |
#ifndef ASTAR_H | |
#define ASTAR_H |
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.khannedy.algorithm.array | |
import scala.annotation.tailrec | |
/** | |
* @author Eko Khannedy | |
* @since 11/8/14 | |
*/ | |
object FindMaximum { |
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
import org.lwjgl.LWJGLException; | |
import org.lwjgl.opengl.Display; | |
import org.lwjgl.opengl.GL11; | |
public class LihatVersiOpenGL { | |
public void initGl() | |
{ | |
try { | |
Display.create(); |
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
import org.lwjgl.LWJGLException; | |
import org.lwjgl.Sys; | |
import org.lwjgl.input.Keyboard; | |
import org.lwjgl.opengl.Display; | |
import org.lwjgl.opengl.DisplayMode; | |
import org.lwjgl.opengl.GL11; | |
public class TutorialLWJGL0014 { | |
/** position of quad */ | |
float x = 400, y = 300; |
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
import org.lwjgl.LWJGLException; | |
import org.lwjgl.Sys; | |
import org.lwjgl.input.Keyboard; | |
import org.lwjgl.opengl.Display; | |
import org.lwjgl.opengl.DisplayMode; | |
import org.lwjgl.opengl.GL11; | |
public class TutorialLWJGL0013 { | |
/** position of quad */ |
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
import java.io.IOException; | |
import org.lwjgl.LWJGLException; | |
import org.lwjgl.opengl.Display; | |
import org.lwjgl.opengl.DisplayMode; | |
import org.lwjgl.opengl.GL11; | |
import org.newdawn.slick.Color; | |
import org.newdawn.slick.opengl.Texture; | |
import org.newdawn.slick.opengl.TextureLoader; | |
import org.newdawn.slick.util.ResourceLoader; | |
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
import java.io.IOException; | |
import org.lwjgl.LWJGLException; | |
import org.lwjgl.Sys; | |
import org.lwjgl.input.Keyboard; | |
import org.lwjgl.opengl.Display; | |
import org.lwjgl.opengl.DisplayMode; | |
import org.lwjgl.opengl.GL11; | |
import org.lwjgl.util.glu.GLU; | |
import org.newdawn.slick.Color; |
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 latihanShader00; | |
import org.lwjgl.opengl.Display; | |
public class TutorialLWJGL0017 { | |
private void createWindow() { | |
// | |
} | |
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 latihanShader00; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import org.lwjgl.opengl.GL11; | |
import org.lwjgl.opengl.GL20; | |
import static org.lwjgl.opengl.GL20.*; | |
// class ini digunakan untuk meload dan mengcompile shader | |
OlderNewer