Packages
cogl-1.0
Cogl
Fixed
log2
pow
atan
atan2
cos
div
mul
mul_div
pow2
sin
sqrt
tan
Stays crunchy ...
... even in milk.
Valadoc
Vala
Tutorial
Vala Journal
API-References
Markup
About
Fixed
Object Hierarchy:
Description:
public
struct
Fixed
Namespace:
Cogl
Package:
cogl-1.0
Content:
Static methods:
public
static
Fixed
log2
(
uint
x)
Calculates base 2 logarithm.
public
static
uint
pow
(
uint
x,
Fixed
y)
Calculates
x
to the
y
power.
Methods:
public
Fixed
atan
()
Computes the arc tangent of
a
.
public
Fixed
atan2
(
Fixed
b)
Computes the arc tangent of
a
/
b
but uses the sign of both arguments to return the angle in right quadrant.
public
Fixed
cos
()
Computes the cosine of
angle
.
public
Fixed
div
(
Fixed
b)
public
Fixed
mul
(
Fixed
b)
public
Fixed
mul_div
(
Fixed
b,
Fixed
c)
public
uint
pow2
()
Calculates 2 to the
x
power.
public
Fixed
sin
()
Computes the sine of
angle
.
public
Fixed
sqrt
()
Computes the square root of
x
.
public
Fixed
tan
()
Computes the tangent of
angle
.