Class HeightDataSVT

java.lang.Object
gaiasky.scene.record.HeightDataSVT
All Implemented Interfaces:
IHeightData

public final class HeightDataSVT extends Object implements IHeightData
  • Constructor Details Link icon

    • HeightDataSVT Link icon

      public HeightDataSVT(SVTQuadtree<Path> svt, com.badlogic.gdx.assets.AssetManager manager)
  • Method Details Link icon

    • getNormalizedHeight Link icon

      public double getNormalizedHeight(double u, double v)
      Description copied from interface: IHeightData
      Gets the height normalized in [0,1] for the given UV coordinates.
      Specified by:
      getNormalizedHeight in interface IHeightData
      Parameters:
      u - The U coordinate.
      v - The V coordinate.
      Returns:
      The height value in [0,1].