Skip to content

Commit

Permalink
Fix track cylinder radius
Browse files Browse the repository at this point in the history
  • Loading branch information
smlpt committed Sep 2, 2024
1 parent e1fe8a3 commit 8560296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ class EyeTrackingDemo: Command{

// logger.info("---\nTrack: ${track.points.joinToString("\n")}\n---")

val cylinder = Cylinder(0.01f, 1.0f, 6)
val cylinder = Cylinder(0.1f, 1.0f, 6, smoothSides = true)
cylinder.setMaterial(ShaderMaterial.fromFiles("DeferredInstancedColor.vert", "DeferredInstancedColor.frag")) {
diffuse = Vector3f(1f)
ambient = Vector3f(1f)
Expand Down

0 comments on commit 8560296

Please sign in to comment.