Class Arrow

All Implemented Interfaces:
IMultiColorable, ISingleColorable, IGLBindedResource, IGLRenderer, ISortableDraw

public class Arrow extends Composite
Author:
Dr. Oliver Rettig, DHBW-Karlsruhe, Germany, 2019
  • Field Details

    • cylinder

      protected Cylinder cylinder
    • cone

      protected Cone cone
    • vector

      protected Vector3d vector
  • Constructor Details

    • Arrow

      public Arrow()
    • Arrow

      public Arrow(Coord3d pos, Coord3d dir, float length, float radius, int slices, int rings, Color color)
  • Method Details

    • createVector3d

      protected static Vector3d createVector3d(Coord3d pos, Coord3d dir, float length)
    • setData

      public void setData(Vector3d vector, float radius, int slices, int rings, Color color)
    • getVector

      public Vector3d getVector()