Module raytracer

Class MyMeshVolume

All Implemented Interfaces:
Volume, Cloneable

public class MyMeshVolume extends MeshVolume
This is an extension of MeshVolume. It adds a color to a mesh volume.
Author:
Ralf Kopsch
  • Constructor Details

    • MyMeshVolume

      public MyMeshVolume()
  • Method Details

    • getMeshColor

      public Color3f getMeshColor()
      Returns the Mesh color.
      Returns:
      the Mesh color.
    • setMeshColor

      public void setMeshColor(Color3f color)
      Sets the Color for this Mesh.
      Parameters:
      color - the color to set.