CrystalSpace

Public API Reference

csWideSparse3D Class Reference

This implementation of csSparse3D is very suited where the accesses will be very widely spaced (for example: one element at (-1000,0,0) and one at (1000,0,0)). More...

#include <csutil/sparse3d.h>

Inheritance diagram for csWideSparse3D:

List of all members.


Detailed Description

This implementation of csSparse3D is very suited where the accesses will be very widely spaced (for example: one element at (-1000,0,0) and one at (1000,0,0)).

Getting and setting elements is not as efficient as with DenseSparse3D but it consumes less memory.

Todo:
Current implementation is very naive. The list should be sorted to make searching at least a little more efficient.

This implementation of Sparse3D is better suited when accesses are close together. The speed of access is much better (no need to scan lists).

Definition at line 67 of file sparse3d.h.


The documentation for this class was generated from the following file:

Generated for Crystal Space 1.4.1 by doxygen 1.7.1