Example usage for javax.media.j3d HiResCoord HiResCoord

List of usage examples for javax.media.j3d HiResCoord HiResCoord

Introduction

In this page you can find the example usage for javax.media.j3d HiResCoord HiResCoord.

Prototype

public HiResCoord(int[] X, int[] Y, int[] Z) 

Source Link

Document

Constructs and initializes a new HiResCoord using the values provided in the argument.

Usage

From source file:HiResCoordTest.java

protected Locale createLocale(VirtualUniverse u) {
    int[] xPos = { 0, 0, 0, 0, 0, 0, 0, 0 };
    int[] yPos = { 0, 0, 0, 0, 0, 0, 0, 0 };
    int[] zPos = { 0, 0, 0, 0, 0, 0, 0, 0 };

    HiResCoord hiResCoord = new HiResCoord(xPos, yPos, zPos);
    return new Locale(u, hiResCoord);
}

From source file:HiResCoordTest.java

protected Locale createLocaleEarth(VirtualUniverse u) {
    int[] xPos = { 0, 0, 0, 0, 0, 0, 0, 0 };
    int[] yPos = { 0, 0, 0, 0, 0, 0, 0, 0 };
    int[] zPos = { 0, 0, 0, 1, 0, 0, 0, 0 };

    HiResCoord hiResCoord = new HiResCoord(xPos, yPos, zPos);
    return new Locale(u, hiResCoord);
}

From source file:HiResCoordTest.java

protected Locale createLocaleHouse(VirtualUniverse u) {
    int[] xPos = { 0, 0, 0, 0, 0, 0, 0, 0 };
    int[] yPos = { 0, 0, 0, 0, 100, 0, 0, 0 };
    int[] zPos = { 0, 0, 0, 1, 100, 0, 0, 0 };

    HiResCoord hiResCoord = new HiResCoord(xPos, yPos, zPos);
    return new Locale(u, hiResCoord);
}