diff examples/E01_hello_triangle.nim @ 1139:114f395b9144

did: finish refactoring and updated all tests accordingly
author sam <sam@basx.dev>
date Sat, 08 Jun 2024 14:58:25 +0700
parents 71315636ba82
children 5934c5615f13
line wrap: on
line diff
--- a/examples/E01_hello_triangle.nim	Tue Jun 04 22:08:48 2024 +0700
+++ b/examples/E01_hello_triangle.nim	Sat Jun 08 14:58:25 2024 +0700
@@ -22,7 +22,7 @@
     meshes: @[newMesh(
       positions = [NewVec3f(-0.5, 0.5), NewVec3f(0, -0.5), NewVec3f(0.5, 0.5)],
       colors = [NewVec4f(1, 0, 0, 1), NewVec4f(0, 1, 0, 1), NewVec4f(0, 0, 1, 1)],
-      material = VERTEX_COLORED_MATERIAL.initMaterialData()
+      material = VERTEX_COLORED_MATERIAL.InitMaterialData()
     )]
   )
   myengine = initEngine("Hello triangle", showFps = true)