OPENAL_SOURCE_SET(3) 1 OPENAL_SOURCE_SET(3)openal_source_set - Set source propertySYNOPSIS
bool openal_source_set (resource $source, int $property, mixed $setting)
DESCRIPTION PARAMETERS
o $source
- An Open AL(Source) resource (previously created by openal_source_create(3)).
o $property
- Property to set, one of: AL_BUFFER (OpenAL(Source)), AL_LOOPING (bool), AL_SOURCE_RELATIVE (int), AL_SOURCE_STATE (int),
AL_PITCH (float), AL_GAIN (float), AL_MIN_GAIN (float), AL_MAX_GAIN (float), AL_MAX_DISTANCE (float), AL_ROLLOFF_FACTOR (float),
AL_CONE_OUTER_GAIN (float), AL_CONE_INNER_ANGLE (float), AL_CONE_OUTER_ANGLE (float), AL_REFERENCE_DISTANCE (float), AL_POSITION
(array(float,float,float)), AL_VELOCITY (array(float,float,float)), AL_DIRECTION (array(float,float,float)).
o $setting
- Value to assign to specified $property. Refer to the description of $property for a description of the value(s) expected.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO openal_source_create(3), openal_source_get(3), openal_source_play(3).
PHP Documentation Group OPENAL_SOURCE_SET(3)
Check Out this Related Man Page
wxGraphicsMatrix(3erl) Erlang Module Definition wxGraphicsMatrix(3erl)NAME
wxGraphicsMatrix - See external documentation: wxGraphicsMatrix.
DESCRIPTION
See external documentation: wxGraphicsMatrix .
This class is derived (and can use functions) from:
wxGraphicsObject
DATA TYPES
wxGraphicsMatrix() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
concat(This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> ok
See external documentation .
get(This::wxGraphicsMatrix()) -> {A::float(), B::float(), C::float(), D::float(), Tx::float(), Ty::float()}
See external documentation .
getNativeMatrix(This::wxGraphicsMatrix()) -> ok
See external documentation .
invert(This::wxGraphicsMatrix()) -> ok
See external documentation .
isEqual(This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> bool()
See external documentation .
isIdentity(This::wxGraphicsMatrix()) -> bool()
See external documentation .
rotate(This::wxGraphicsMatrix(), Angle::float()) -> ok
See external documentation .
scale(This::wxGraphicsMatrix(), XScale::float(), YScale::float()) -> ok
See external documentation .
translate(This::wxGraphicsMatrix(), Dx::float(), Dy::float()) -> ok
See external documentation .
set(This::wxGraphicsMatrix()) -> ok
Equivalent to set(This, []) .
set(This::wxGraphicsMatrix(), Options::[Option]) -> ok
Types Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()}
See external documentation .
transformPoint(This::wxGraphicsMatrix()) -> {X::float(), Y::float()}
See external documentation .
transformDistance(This::wxGraphicsMatrix()) -> {Dx::float(), Dy::float()}
See external documentation .
AUTHORS
<>
wxErlang 0.98.9 wxGraphicsMatrix(3erl)
how to add 2 float values to each other?
i tried this and it doesnt work:
#!bin/bash
numone=1.234
numtwo=0.124
total=`expr $numone + $numtwo`
echo $total
thanks (5 Replies)
Hi,
As all of us know that size of int is machine as well as compiler dependent
we can get the range and size of an int , float and char etc in
/usr/include/limits.h
header file of a compiler
but could any one tell me how to get info of precision of float and ... (6 Replies)
Hi,
I have the following variable declaration which looks like a 3d array or N matrixs KxK of floats
float (*table);
I have to pass to a function only the first table.
How can I do it??
Thanks (6 Replies)
I have a file with 2 columns . One of the line looks like the following.
Is it possible to convert every float no in column 2 to integer.
input
NM_032881 6.03787973608527e-05
output
0.0000603787..... (2 Replies)
#!/bin/bash
filter_file=/export/home/alvin/test.txt
range1_count=0
range2_count=0
categorized(){
value=$1
if # range 5.1 to 10.0
then
range1_count=`expr $range1+ 1`
elif # range 5.1 to 15.00
then
range2_count=`expr $range2+ 1`
fi
}
#read txt file which contain lines of... (8 Replies)
I am surprised by GCC (this is ver. 4.2.4, Ubuntu 32 bit Intel) when a function declares a float parameter and it's prototype is missing, the parameters are messed up.
Please see my code below:
~/test$ cat x1.c
#include <stdio.h>
#include <stdlib.h>
set_p(int p1, float p2, int p3, int p4)... (7 Replies)
Hi all,
I'm prepared exploring cloud technology to play on both private and public clouds. Please advise which of the following Open Source Cloud software, other than Ubuntu One, will be more powerful on features:-
Abiquo
http://www.abiquo.com/
Amazon Elastic Compute Cloud (Amazon EC2)... (2 Replies)
Hi,
I have small problem to print float value in the fallowing code
float Cx, W,f=250000, Cr=92.00,pi=3.14;
W=2*pi*f;
Cx = 1/W.Cr; //Cx value will be come around like 7.07E-9.
printf("capacitance value: %.10f",Cx);
I am trying to print Cx value using above code but it was not... (3 Replies)
I have
int miles, yards;
float kilometers;
float kilometers2;
miles = 26;
yards = 385;
kilometers = 1.609 * (miles + yards / 1760.0);
where int/float remains a float. How ever if I change it to
kilometers = 1.609 * (miles + yards / 1760);
... (7 Replies)
Hi everyone,
I'm having some trouble with float array.
When i try to get the array sum with float numbers i get this error line 39: soma + 2.34 | bc: syntax error: invalid arithmetic operator (error token is ".34 | bc")
26 Somar() {
27 echo "Quantos numeros deseja somar?"
28 read... (4 Replies)