Skip to content

Commit

Permalink
Corrected last pull
Browse files Browse the repository at this point in the history
  • Loading branch information
nanochess committed Apr 13, 2024
1 parent 8ae0cf7 commit 9ae5323
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignroe
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store

6 changes: 2 additions & 4 deletions ray.asm
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
bits 16
cpu 686 ; Minimum requirements: Pentium Pro.

base: equ $04

%ifndef com_file ; If not defined create a boot sector
com_file: equ 0
%endif
Expand Down Expand Up @@ -303,7 +301,7 @@ var_u: equ -$3c ; u - Ray direction (normalized)
var_v: equ -$38 ; v - Ray direction (normalized)
var_w: equ -$34 ; w - Ray direction (normalized)
var_x: equ -$30 ; x - Origin of ray
var_y: equ -$1c ; y - Origin of ray
var_y: equ -$2c ; y - Origin of ray
var_z: equ -$28 ; z - Origin of ray
var_e: equ -$24 ; e - Position of sphere
var_f: equ -$20 ; f - Position of sphere
Expand All @@ -315,5 +313,5 @@ var_i: equ -$0c ; Float
var_a: equ -$08 ; Float
var_s: equ -$04 ; Float

total: equ base+$44
total: equ $44

0 comments on commit 9ae5323

Please sign in to comment.