coastline
0.0.4
Loading...
Searching...
No Matches
src
common
soundpan.h
Go to the documentation of this file.
1
#ifndef COASTLINE_SOUND_PAN_H
2
#define COASTLINE_SOUND_PAN_H
3
4
#include "
common/render.h
"
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
27
void
ComputeStereoPan
(
28
Vec3f
*source,
CameraFrame
*camera,
f32
*upper,
f32
*lower,
s32
*volume,
s32
narrow);
29
30
#ifdef __cplusplus
31
}
32
#endif
33
34
#endif
/* COASTLINE_SOUND_PAN_H */
render.h
The state the renderer shares between the parts of a frame.
ComputeStereoPan
void ComputeStereoPan(Vec3f *source, CameraFrame *camera, f32 *upper, f32 *lower, s32 *volume, s32 narrow)
Pan a sound between the two halves of the volume of a channel by where it is across a camera,...
CameraFrame
A frame of reference: three axes and a position, the rows of a 4 by 4 matrix whose last column Finish...
Definition
render.h:30
Vec3f
A point or direction in space.
Definition
vecmath.h:17
f32
float f32
Definition
ultratypes.h:38
s32
int s32
Definition
ultratypes.h:25
Generated by
1.15.0