# HG changeset patch # User Sam # Date 1682530219 -25200 # Node ID ae8b0d89a2ee31081978eef815d1be72d24fea3d # Parent 3dffa1f38a3301e5e9bd2c21138bdcd2cbe3f189 del: debug code diff -r 3dffa1f38a33 -r ae8b0d89a2ee examples/E02_squares.nim --- a/examples/E02_squares.nim Thu Apr 27 00:24:10 2023 +0700 +++ b/examples/E02_squares.nim Thu Apr 27 00:30:19 2023 +0700 @@ -80,11 +80,6 @@ colors=colors, ) setMeshData[uint32](squaremesh, "index", iValues.toSeq) - var i = 0'u64 - var (p, l) = squaremesh.getRawData("color") - while i < uint64(l): - echo (cast[ptr float32]((cast[uint64](p) + i)))[] - inc i var myengine = initEngine("Squares") myengine.setRenderer(myengine.gpuDevice.simpleForwardRenderPass(vertexCode, fragmentCode))