# HG changeset patch # User Sam # Date 1685440715 -25200 # Node ID 95281f2db400b857e58c7b28ade3d08cb78642e2 # Parent 563ca4a82931522cc2bd68a4d98f0496966b87da did: fix API changes broke examples diff -r 563ca4a82931 -r 95281f2db400 examples/E01_hello_triangle.nim --- a/examples/E01_hello_triangle.nim Tue May 30 16:58:14 2023 +0700 +++ b/examples/E01_hello_triangle.nim Tue May 30 16:58:35 2023 +0700 @@ -1,4 +1,4 @@ -import semicongine +import ../src/semicongine const diff -r 563ca4a82931 -r 95281f2db400 examples/E02_squares.nim --- a/examples/E02_squares.nim Tue May 30 16:58:14 2023 +0700 +++ b/examples/E02_squares.nim Tue May 30 16:58:35 2023 +0700 @@ -1,7 +1,7 @@ import std/sequtils import std/random -import semicongine +import ../src/semicongine when isMainModule: diff -r 563ca4a82931 -r 95281f2db400 examples/E03_hello_cube.nim --- a/examples/E03_hello_cube.nim Tue May 30 16:58:14 2023 +0700 +++ b/examples/E03_hello_cube.nim Tue May 30 16:58:35 2023 +0700 @@ -10,7 +10,7 @@ import std/times -import semicongine +import ../src/semicongine const TopLeftFront = newVec3f(-0.5'f32, -0.5'f32, -0.5'f32) diff -r 563ca4a82931 -r 95281f2db400 examples/E04_input.nim --- a/examples/E04_input.nim Tue May 30 16:58:14 2023 +0700 +++ b/examples/E04_input.nim Tue May 30 16:58:35 2023 +0700 @@ -2,7 +2,7 @@ import std/typetraits import std/math -import semicongine +import ../src/semicongine const arrow = @[ diff -r 563ca4a82931 -r 95281f2db400 examples/E10_pong.nim --- a/examples/E10_pong.nim Tue May 30 16:58:14 2023 +0700 +++ b/examples/E10_pong.nim Tue May 30 16:58:35 2023 +0700 @@ -1,6 +1,6 @@ import std/times -import semicongine +import ../src/semicongine let barcolor = hexToColorAlpha("5A3F00").gamma(2.2).colorToHex()