Mercurial > games > semicongine
annotate src/window.nim @ 477:f226c99b5043
add: matrix multiplications, tests
| author | Sam <sam@basx.dev> |
|---|---|
| date | Fri, 30 Dec 2022 15:56:17 +0700 |
| parents | 1dd9e2393a9e |
| children |
| rev | line source |
|---|---|
|
466
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
1 when defined(linux): |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
2 import ./platform/linux/xlib |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
3 export xlib |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
4 elif defined(windows): |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
5 import ./platform/windows/win32 |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
6 export win32 |
