mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Added Source:setCone(innerAngle, outerAngle, outerVolume). Resolves issue #643.
When combined with Source:setDirection (and Source:setPosition or love.audio.setPosition), the cone parameters allow for directional sound output from a Source.
This commit is contained in:
@@ -47,6 +47,8 @@ int w_Source_setVelocity(lua_State *L);
|
||||
int w_Source_getVelocity(lua_State *L);
|
||||
int w_Source_setDirection(lua_State *L);
|
||||
int w_Source_getDirection(lua_State *L);
|
||||
int w_Source_setCone(lua_State *L);
|
||||
int w_Source_getCone(lua_State *L);
|
||||
int w_Source_setRelativePosition(lua_State *L);
|
||||
int w_Source_hasRelativePosition(lua_State *L);
|
||||
int w_Source_setLooping(lua_State *L);
|
||||
|
||||
Reference in New Issue
Block a user