Example usage for javax.media.j3d Shape3D subclass-usage

List of usage examples for javax.media.j3d Shape3D subclass-usage

Introduction

In this page you can find the example usage for javax.media.j3d Shape3D subclass-usage.

Usage

From source file MouseRotateApp.java

class Axis extends Shape3D {

    ////////////////////////////////////////////
    //
    // create axis visual object
    //

From source file AxisClassDemoApp.java

class Axis extends Shape3D {

    ////////////////////////////////////////////
    //
    // create axis visual object
    //

From source file MouseBehaviorApp.java

class Axis extends Shape3D {

    ////////////////////////////////////////////
    //
    // create axis visual object
    //

From source file MouseNavigatorApp.java

class Axis extends Shape3D {

    ////////////////////////////////////////////
    //
    // create axis visual object
    //

From source file TickTockCollision.java

class Box extends Shape3D {

    public Box(double xsize, double ysize, double zsize) {
        super();
        double xmin = -xsize / 2.0;
        double xmax = xsize / 2.0;

From source file J3dSwingFrame.java

/**
 * Test class illustrating the use of geometry.
 * <P>
 * A simple Shape3D class that contains a flat square constructed from a raw
 * geometry array. The square is located at the origin with bounds 0.5 along
 * each axis and lies in the X,Y plain. The normals point along the +Z axis.

From source file AppearanceTest.java

class Tetrahedron extends Shape3D {
    private static final float sqrt3 = (float) Math.sqrt(3.0);
    private static final float sqrt3_3 = sqrt3 / 3.0f;
    private static final float sqrt24_3 = (float) Math.sqrt(24.0) / 3.0f;

    private static final float ycenter = 0.5f * sqrt24_3;

From source file TickTockPicking.java

class Tetrahedron extends Shape3D {
    private static final float sqrt3 = (float) Math.sqrt(3.0);

    private static final float sqrt3_3 = sqrt3 / 3.0f;

    private static final float sqrt24_3 = (float) Math.sqrt(24.0) / 3.0f;

From source file AppearanceMixed.java

class Tetrahedron extends Shape3D {
    private static final float sqrt3 = (float) Math.sqrt(3.0);

    private static final float sqrt3_3 = sqrt3 / 3.0f;

    private static final float sqrt24_3 = (float) Math.sqrt(24.0) / 3.0f;

From source file ExAppearance.java

class Tetrahedron extends Shape3D {
    private static final float sqrt3 = (float) Math.sqrt(3.0);

    private static final float sqrt3_3 = sqrt3 / 3.0f;

    private static final float sqrt24_3 = (float) Math.sqrt(24.0) / 3.0f;