zenilib: zenilib/jni/external/lib3ds/src/lib3ds_shadow.c File Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
lib3ds_shadow.c File Reference
`#include "lib3ds_impl.h"`

Go to the source code of this file.

## Functions

void | lib3ds_shadow_read (Lib3dsShadow *shadow, Lib3dsIo *io)
void | lib3ds_shadow_write (Lib3dsShadow *shadow, Lib3dsIo *io)

## Function Documentation

void lib3ds_shadow_read | ( | Lib3dsShadow * | shadow,
|  | Lib3dsIo * | io
| ) |  |

Definition at line 22 of file lib3ds_shadow.c.

References CHK_HI_SHADOW_BIAS, CHK_LO_SHADOW_BIAS, CHK_RAY_BIAS, CHK_SHADOW_FILTER, CHK_SHADOW_MAP_SIZE, Lib3dsChunk::chunk, Lib3dsShadow::filter, Lib3dsShadow::hi_bias, lib3ds_chunk_read(), lib3ds_io_read_float(), lib3ds_io_read_intw(), Lib3dsShadow::low_bias, Lib3dsShadow::map_size, and Lib3dsShadow::ray_bias.

Referenced by mdata_read().

void lib3ds_shadow_write | ( | Lib3dsShadow * | shadow,
|  | Lib3dsIo * | io
| ) |  |

Definition at line 56 of file lib3ds_shadow.c.

References CHK_HI_SHADOW_BIAS, CHK_LO_SHADOW_BIAS, CHK_RAY_BIAS, CHK_SHADOW_FILTER, CHK_SHADOW_MAP_SIZE, Lib3dsChunk::chunk, fabs(), Lib3dsShadow::filter, Lib3dsShadow::hi_bias, lib3ds_chunk_write(), LIB3DS_EPSILON, lib3ds_io_write_float(), lib3ds_io_write_intw(), Lib3dsShadow::low_bias, Lib3dsShadow::map_size, Lib3dsShadow::ray_bias, and Lib3dsChunk::size.

Referenced by mdata_write().