small fix in light functions, new test example

git-svn-id: svn://kolibrios.org@6013 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA
2015-12-29 15:39:09 +00:00
parent bcaef9b989
commit 34c429147d
2 changed files with 494 additions and 1 deletions

View File

@@ -208,7 +208,7 @@ pushad
fmulp
fdiv dword[an180f]
fcos
fstp dword[edi+offs_ligh_spot_cutoff] ;l.cos_spot_cutoff=cos(a * M_PI / 180.0)
fstp dword[edi+offs_ligh_cos_spot_cutoff] ;l.cos_spot_cutoff=cos(a * M_PI / 180.0)
jmp .end_f
@@:
ffree st0