Package engine.renderEngine
Class SelectorRenderer
java.lang.Object
engine.renderEngine.SelectorRenderer
This class is responsible for rendering the selector square used to select a zone.
-
Constructor Summary
ConstructorsConstructorDescriptionSelectorRenderer
(SelectorShader shader, org.joml.Matrix4f projectionMatrix) Constructor which starts the shader and loads the projection matrix in the shader. -
Method Summary
-
Constructor Details
-
SelectorRenderer
Constructor which starts the shader and loads the projection matrix in the shader.- Parameters:
shader
-projectionMatrix
-
-
-
Method Details
-
render
Render function prepares the selector and the instance of it before drawing it to the screen and then unbinding it.- Parameters:
selector
-
-