Class Main

java.lang.Object
com.aparapi.examples.oopnbody.Main

public class Main
extends Object
NBody implementing demonstrating Aparapi kernels. For a description of the NBody problem, see n-body problem We use JOGL to render the bodies. JOGL
Author:
gfrost
See Also:
JOGL, n-body problem
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Main.NBodyKernel  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int height  
    static boolean running  
    static com.jogamp.opengl.util.texture.Texture texture  
    static int width  
  • Constructor Summary

    Constructors 
    Constructor Description
    Main()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(String[] _args)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • width

      public static int width
    • height

      public static int height
    • running

      public static boolean running
    • texture

      public static com.jogamp.opengl.util.texture.Texture texture
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main​(String[] _args)