From 7393d8276f85d9dbd51761ac661ffe2e1a73ff21 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Sat, 11 Jul 2020 20:21:31 -0500 Subject: [PATCH] fixed atari vector example ? --- doc/notes.txt | 2 +- presets/vector-ataricolor/vec3d.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/notes.txt b/doc/notes.txt index af429fdd..b4c3e3f9 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -187,11 +187,11 @@ TODO: - need Edge 79+ - no import in workers - copy to gen/ directory (allowJs is weird) -- can we debug first frame via replay? - ca65 line numbers are not aligned with source code - segments not read properly - Debug Browser - more stuff like 7800 display lists + - don't include start/end line on platforms w/o raster timing WEB WORKER FORMAT diff --git a/presets/vector-ataricolor/vec3d.c b/presets/vector-ataricolor/vec3d.c index 90fad7e7..6d865b28 100644 --- a/presets/vector-ataricolor/vec3d.c +++ b/presets/vector-ataricolor/vec3d.c @@ -51,7 +51,7 @@ sbyte icos(byte x) { } void mat_rotate(Matrix* m, byte axis, byte angle) { - sbyte sin = isin(angle); + sbyte sin = -isin(angle); sbyte cos = icos(angle); mat_identity(m); switch (axis) {