Code cleanup and formatting.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / renderer / raster / shapes / AbstractShape.java
1 /*
2  * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of version 3 of the GNU Lesser General Public License
6  * or later as published by the Free Software Foundation.
7  *
8  */
9
10 package eu.svjatoslav.sixth.e3d.renderer.raster.shapes;
11
12 import eu.svjatoslav.sixth.e3d.gui.RenderingContext;
13 import eu.svjatoslav.sixth.e3d.gui.humaninput.MouseInteractionController;
14 import eu.svjatoslav.sixth.e3d.math.TransformPipe;
15 import eu.svjatoslav.sixth.e3d.renderer.raster.RenderAggregator;
16
17 public abstract class AbstractShape {
18
19     public MouseInteractionController mouseInteractionController;
20
21     public void setMouseInteractionController(
22             final MouseInteractionController mouseInteractionController) {
23         this.mouseInteractionController = mouseInteractionController;
24     }
25
26     public abstract void transform(final TransformPipe transforms,
27                                    final RenderAggregator aggregator,
28                                    final RenderingContext renderingContext);
29
30 }