Pillar.jad
text · 27 lines · part of Pillars With Reflective Floor · raw
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 06/06/2005 23:08:16
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: Site3D.java
import java.io.PrintStream;
class Pillar extends Shape
{
public Pillar(Scene scene)
{
super(scene);
System.out.println("Creating Pillar");
Cube cube = new Cube(scene, 0x336699);
((Shape) (cube)).trans.scale(1.0D, 0.20000000000000001D, 1.0D);
((Shape) (cube)).trans.translate(0.0D, -2D, 0.0D);
addShape(cube);
cube = new Cube(scene, 13158);
((Shape) (cube)).trans.scale(0.59999999999999998D, 1.8D, 0.59999999999999998D);
addShape(cube);
cube = new Cube(scene, 0x336699);
((Shape) (cube)).trans.scale(1.0D, 0.20000000000000001D, 1.0D);
((Shape) (cube)).trans.translate(0.0D, 2D, 0.0D);
addShape(cube);
}
}