#include "common.h"
#include <stdio.h>
#include <math.h>
#include <strings.h>
#include "machine.h"
#include "bu.h"
#include "vmath.h"
#include "bn.h"
#include "spm.h"
Include dependency graph for sphmap.c:
Go to the source code of this file.
Functions | |
spm_map_t * | spm_init (int N, int elsize) |
Return a sphere map structure initialized for N points around the equator. | |
void | spm_free (spm_map_t *mp) |
Free the storage associated with a sphere structure. | |
void | spm_read (register spm_map_t *mapp, register unsigned char *valp, double u, double v) |
void | spm_write (register spm_map_t *mapp, register unsigned char *valp, double u, double v) |
char * | spm_get (register spm_map_t *mapp, double u, double v) |
int | spm_load (spm_map_t *mapp, char *filename) |
int | spm_save (spm_map_t *mapp, char *filename) |
int | spm_px_load (spm_map_t *mapp, char *filename, int nx, int ny) |
int | spm_px_save (spm_map_t *mapp, char *filename, int nx, int ny) |
void | spm_dump (spm_map_t *mp, int verbose) |
Definition in file sphmap.c.