355 |
|
else |
356 |
|
VCOPY(qtL.wp[li], p); |
357 |
|
qtL.wd[li] = encodedir(d); |
358 |
< |
tmCvColrs(&qtL.brt[li], qtL.chr[li], c, 1); |
358 |
> |
tmCvColrs(&qtL.brt[li], qtL.chr[li], (COLR *)c, 1); |
359 |
|
if (putleaf(li, 1)) { |
360 |
|
if (mapit) |
361 |
< |
tmMapPixels(qtL.rgb+li, qtL.brt+li, qtL.chr+li, 1); |
361 |
> |
tmMapPixels((BYTE *)(qtL.rgb+li), qtL.brt+li, |
362 |
> |
(BYTE *)(qtL.chr+li), 1); |
363 |
|
if (--rayqleft == 0) |
364 |
|
dev_flush(); /* flush output */ |
365 |
|
} |
410 |
|
if (tmComputeMapping(0., 0., 0.) != TM_E_OK) |
411 |
|
return(0); |
412 |
|
} |
413 |
< |
if (tmMapPixels(qtL.rgb+aorg, qtL.brt+aorg, |
414 |
< |
qtL.chr+aorg, alen) != TM_E_OK) |
413 |
> |
if (tmMapPixels((BYTE *)(qtL.rgb+aorg), qtL.brt+aorg, |
414 |
> |
(BYTE *)(qtL.chr+aorg), alen) != TM_E_OK) |
415 |
|
return(0); |
416 |
|
if (blen > 0) |
417 |
< |
tmMapPixels(qtL.rgb+borg, qtL.brt+borg, |
418 |
< |
qtL.chr+borg, blen); |
417 |
> |
tmMapPixels((BYTE *)(qtL.rgb+borg), qtL.brt+borg, |
418 |
> |
(BYTE *)(qtL.chr+borg), blen); |
419 |
|
qtL.tml = qtL.tl; |
420 |
|
return(1); |
421 |
|
} |