Package org.recast4j.recast
Class RecastFilledVolumeRasterization
java.lang.Object
org.recast4j.recast.RecastFilledVolumeRasterization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatclamp(float v, float min, float max) static voidrasterizeBox(Heightfield hf, float[] center, float[][] halfEdges, int area, int flagMergeThr, Telemetry ctx) static voidrasterizeCapsule(Heightfield hf, float[] start, float[] end, float radius, int area, int flagMergeThr, Telemetry ctx) static voidrasterizeConvex(Heightfield hf, float[] vertices, int[] triangles, int area, int flagMergeThr, Telemetry ctx) static voidrasterizeCylinder(Heightfield hf, float[] start, float[] end, float radius, int area, int flagMergeThr, Telemetry ctx) static voidrasterizeSphere(Heightfield hf, float[] center, float radius, int area, int flagMergeThr, Telemetry ctx)
-
Constructor Details
-
RecastFilledVolumeRasterization
public RecastFilledVolumeRasterization()
-
-
Method Details
-
rasterizeSphere
public static void rasterizeSphere(Heightfield hf, float[] center, float radius, int area, int flagMergeThr, Telemetry ctx) -
rasterizeCapsule
public static void rasterizeCapsule(Heightfield hf, float[] start, float[] end, float radius, int area, int flagMergeThr, Telemetry ctx) -
rasterizeCylinder
public static void rasterizeCylinder(Heightfield hf, float[] start, float[] end, float radius, int area, int flagMergeThr, Telemetry ctx) -
rasterizeBox
public static void rasterizeBox(Heightfield hf, float[] center, float[][] halfEdges, int area, int flagMergeThr, Telemetry ctx) -
rasterizeConvex
public static void rasterizeConvex(Heightfield hf, float[] vertices, int[] triangles, int area, int flagMergeThr, Telemetry ctx) -
clamp
public static float clamp(float v, float min, float max)
-