mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
dragon demo: use NCBLIT_3x2
This commit is contained in:
parent
84dde41dc8
commit
5f91990ed1
@ -56,7 +56,7 @@ int dragon_demo(struct notcurses* nc){
|
||||
// system is X -> X+YF+, Y -> -FX-Y, where F is forward, - is turn left, and
|
||||
// + is turn right.
|
||||
const char LINDENSTART[] = "FX";
|
||||
dimy *= 2;
|
||||
dimy *= 3;
|
||||
dimx *= 2;
|
||||
int dxstart, dystart;
|
||||
if(dimy > dimx){
|
||||
@ -96,7 +96,7 @@ int dragon_demo(struct notcurses* nc){
|
||||
}
|
||||
struct ncvisual_options vopts = {
|
||||
.n = n,
|
||||
.blitter = NCBLIT_2x2,
|
||||
.blitter = NCBLIT_3x2,
|
||||
.y = 1,
|
||||
};
|
||||
if(ncvisual_render(nc, ncv, &vopts) == NULL){
|
||||
|
Loading…
Reference in New Issue
Block a user