Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
fishypack-trident
Commits
378c37b6
Commit
378c37b6
authored
Mar 19, 2018
by
blackle
Browse files
Update todo
parent
5a02c30c
Changes
3
Hide whitespace changes
Inline
Side-by-side
glx-xlib-tests/main.c
View file @
378c37b6
...
...
@@ -262,7 +262,7 @@ void _start() {
asm
volatile
(
".intel_syntax noprefix"
);
asm
volatile
(
"push 60"
);
asm
volatile
(
"pop rax"
);
asm
volatile
(
"xor
r
di,
r
di"
);
asm
volatile
(
"xor
e
di,
e
di"
);
asm
volatile
(
"syscall"
);
asm
volatile
(
".att_syntax prefix"
);
__builtin_unreachable
();
...
...
glx-xlib-tests/shader.frag
View file @
378c37b6
...
...
@@ -22,7 +22,7 @@ struct Mat
Mat
mats
[
2
]
=
Mat
[
2
](
Mat
(
vec3
(
0
.
8
,
0
.
2
,
0
.
1
),
vec3
(
0
.
2
),
vec3
(
0
.
1
)),
//label / cap
Mat
(
vec3
(
1
.
0
,
1
.
0
,
1
.
0
),
vec3
(
0
.
8
),
vec3
(
0
.
7
,
0
.
7
,
0
.
7
))
//bottle / grave
Mat
(
vec3
(
1
.
0
),
vec3
(
0
.
8
),
vec3
(
0
.
7
))
//bottle / grave
);
//choose good positions...
...
...
@@ -251,7 +251,7 @@ void main() {
vec2
uv
=
(
gl_FragCoord
.
xy
-
vec2
(
960
.
0
,
540
.
0
))
/
vec2
(
960
.
0
,
960
.
0
);
// Camera parameters
vec3
cameraOrigin
=
vec3
(
5
.
0
,
5
.
0
,
5
.
0
);
vec3
cameraOrigin
=
vec3
(
5
.
0
);
vec3
cameraDirection
=
vec3
(
-
1
.
414
,
-
1
.
414
,
-
1
.
414
);
vec3
platePoint
=
(
vec3
(
-
0
.
71
,
0
.
71
,
0
.
0
)
*
uv
.
x
+
vec3
(
0
.
408
,
0
.
408
,
-
0
.
816
)
*
-
uv
.
y
);
...
...
glx-xlib-tests/todo.txt
View file @
378c37b6
todo:
[ ] clean up the code
[ ] set 1920x1080 video mode
[ ] make the escape key be the only thing that quits. and it must quit at any time (within reason)
[ ] fake antialias with sdf trickery?
[ ] have the text be embossed in the plastic
[ ] choose a good font
[ ] make a cute label for the bottles. I have more than enough space!
[x] clean up the code
[x] set 1920x1080 video mode
[x] make the escape key be the only thing that quits.
[!] and it must quit at any time (within reason, nixed for difficulty)
[!] fake antialias with sdf trickery? (nixed)
[!] have the text be embossed in the plastic (nixed)
[x] choose a good font
[!] make a cute label for the bottles. I have more than enough space! (nixed)
- hng revision logo
- with the 2018 hexagonal aesthetic~~
- maybe make the label bigger?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment