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

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

Introduction

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

Usage

From source file IntersectTest.java

class RandomColorTetrahedron extends TriangleArray {

    RandomColorTetrahedron() {
        super(12, GeometryArray.COORDINATES | GeometryArray.COLOR_3);

        Point3f verts[] = new Point3f[4];

From source file PickTest.java

class TetrahedronTA extends TriangleArray {

    TetrahedronTA() {
        super(12, GeometryArray.COORDINATES | GeometryArray.COLOR_3);

        Point3f verts[] = new Point3f[4];