# HG changeset patch # User Sam # Date 1685440715 -25200 # Node ID dcc12ab20a919ea3c5540c2ffabd1d996428c82c # Parent c12b11a5f112c71fce55cef0679abf171817ca61 did: fix API changes broke examples diff -r c12b11a5f112 -r dcc12ab20a91 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 c12b11a5f112 -r dcc12ab20a91 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 c12b11a5f112 -r dcc12ab20a91 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 c12b11a5f112 -r dcc12ab20a91 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 c12b11a5f112 -r dcc12ab20a91 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()