Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.ArrayList;
- import fim.utils.Application;
- import transforms3D.*;
- @SuppressWarnings("serial")
- public class Transformace3D extends Application {
- ArrayList<Point3D> vrcholy;
- ArrayList<Integer> hrany = new ArrayList<Integer>();
- @Override
- public void start() {
- vrcholy = new ArrayList<Point3D>();
- vrcholy.add(new Point3D( 1, 1 , 1));
- vrcholy.add(new Point3D( 1, 1, -1));
- vrcholy.add(new Point3D( 1, -1, 1));
- vrcholy.add(new Point3D( 1, -1, -1));
- vrcholy.add(new Point3D( 1, 1, 1));
- vrcholy.add(new Point3D(-1, 1, -1));
- vrcholy.add(new Point3D(-1, 1, 1));
- vrcholy.add(new Point3D(-1, -1, 1));
- vrcholy.add(new Point3D(-1, -1, -1));
- }
- public static void main(String[] args) {
- new Transformace3D().start();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment