changeset 148:ae8b0d89a2ee

del: debug code
author Sam <sam@basx.dev>
date Thu, 27 Apr 2023 00:30:19 +0700
parents 3dffa1f38a33
children 0aa18fe8f7f1
files examples/E02_squares.nim
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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))