34 #define FAOGEN_API extern "C"
48 FAOGEN_API
void __stdcall
shutdown();
70 float const * vertices3f,
size_t vertices_stride,
73 void const * triangle_indices,
size_t num_indices );
92 float const * vertices3f,
size_t vertices_stride,
93 float const * normals3f,
size_t normals_stride,
96 void const * triangle_indices,
size_t num_indices );
119 float const * vertices3f,
size_t vertices_stride,
120 float const * normals3f,
size_t normals_stride,
121 float const * texcoords2f,
size_t texcoords_stride,
124 void const * triangle_indices,
size_t num_indices );
130 FAOGEN_API
void __stdcall
set_object_matrix( obj_handle object_id,
float const * matrix );
138 unsigned quality,
int hemisphere_mode );
149 unsigned width,
unsigned height,
int hemisphere_mode );
155 return quality*quality*10 + 2;
190 #endif //faogenlib3_h
bool start_ao_gen_vert(obj_handle object_id, unsigned quality, int hemisphere_mode)
32-bit unsigned integer
Definition: faogenlib3.h:54
unsigned num_iterations(unsigned quality)
Definition: faogenlib3.h:153
obj_handle create_object_vn(float const *vertices3f, size_t vertices_stride, float const *normals3f, size_t normals_stride, size_t num_vertices, e_index_type index_type, void const *triangle_indices, size_t num_indices)
float const * get_vert_results()
void ao_tex_generate(size_t iterations)
void destroy_object(obj_handle object_id)
obj_handle create_object_vnt(float const *vertices3f, size_t vertices_stride, float const *normals3f, size_t normals_stride, float const *texcoords2f, size_t texcoords_stride, size_t num_vertices, e_index_type index_type, void const *triangle_indices, size_t num_indices)
void ao_vert_generate(size_t iterations)
bool start_ao_gen_tex(obj_handle object_id, unsigned quality, unsigned width, unsigned height, int hemisphere_mode)
void set_object_matrix(obj_handle object_id, float const *matrix)
int obj_handle
A type that represents object handle.
Definition: faogenlib3.h:40
fast ambient occlusion generator library
Definition: faogenlib3.h:37
16-bit unsigned integer
Definition: faogenlib3.h:53
e_index_type
Selects index type.
Definition: faogenlib3.h:51
float const * get_tex_results()
obj_handle create_object_v(float const *vertices3f, size_t vertices_stride, size_t num_vertices, e_index_type index_type, void const *triangle_indices, size_t num_indices)