/external/freetype/include/freetype/ |
fttrigon.h | 48 * This type is used to model angle values in FreeType. Note that the 49 * angle is a 16.16 fixed float value expressed in degrees. 61 * The angle pi expressed in @FT_Angle units. 73 * The angle 2*pi expressed in @FT_Angle units. 85 * The angle pi/2 expressed in @FT_Angle units. 97 * The angle pi/4 expressed in @FT_Angle units. 109 * Return the sinus of a given angle in fixed point format. 112 * angle :: 113 * The input angle. 119 * If you need both the sinus and cosinus for a given angle, use th 124 FT_Sin( FT_Angle angle ); variable 148 FT_Cos( FT_Angle angle ); variable 168 FT_Tan( FT_Angle angle ); variable [all...] |
/external/freetype/src/autofit/ |
afangles.c | 93 * The trick here is to realize that we don't need a very accurate angle 95 * only compare the sign of angle differences, or check whether its 108 AF_Angle angle; 121 angle = 0; 124 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay ); 127 if ( angle >= 0 ) 128 angle = AF_ANGLE_PI - angle; 130 angle = -AF_ANGLE_PI - angle; 187 AF_Angle angle; local [all...] |
/external/webkit/Source/WebCore/platform/audio/ |
Cone.cpp | 57 // Angle between the source orientation vector and the source-listener vector 59 double angle = 180.0 * acos(dotProduct) / piDouble; local 60 double absAngle = fabs(angle); 62 // Divide by 2.0 here since API is entire angle (not half-angle)
|
/external/eigen/demos/opengl/ |
trackball.cpp | 28 float angle = 2. * acos(cos_angle); local 30 mpCamera->rotateAroundTarget(Quaternionf(AngleAxisf(angle, axis))); 32 mpCamera->localRotate(Quaternionf(AngleAxisf(-angle, axis)));
|
gpuhelper.cpp | 67 float angle = 180.f/M_PI * acos(tmp.z()); local 68 if (angle>1e-3) 69 glRotatef(angle, ax.x(), ax.y(), ax.z()); 88 float angle = 180.f/M_PI * acos(tmp.z()); local 89 if (angle>1e-3) 90 glRotatef(angle, ax.x(), ax.y(), ax.z());
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
Particle.java | 76 * Particle rotation angle (in radians). 78 public float angle; field in class:Particle 81 * Particle rotation angle speed (in radians).
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
RotateTransformOperation.cpp | 75 // Convert that to Axis/Angle form 80 double angle = 0; local 86 angle = rad2deg(acos(decomp.quaternionW) * 2); 92 return RotateTransformOperation::create(x, y, z, angle, ROTATE_3D);
|
RotateTransformOperation.h | 34 static PassRefPtr<RotateTransformOperation> create(double angle, OperationType type) 36 return adoptRef(new RotateTransformOperation(0, 0, 1, angle, type)); 39 static PassRefPtr<RotateTransformOperation> create(double x, double y, double z, double angle, OperationType type) 41 return adoptRef(new RotateTransformOperation(x, y, z, angle, type)); 47 double angle() const { return m_angle; } function in class:WebCore::RotateTransformOperation 71 RotateTransformOperation(double x, double y, double z, double angle, OperationType type) 75 , m_angle(angle)
|
/external/webkit/Source/WebCore/platform/gtk/ |
ScrollbarThemeGtk3.cpp | 159 gdouble angle; local 161 angle = (part == ForwardButtonEndPart || part == ForwardButtonStartPart) ? G_PI : 0; 163 angle = (part == ForwardButtonEndPart || part == ForwardButtonStartPart) ? G_PI / 2 : 3 * (G_PI / 2); 166 gtk_render_arrow(m_context, context->platformContext()->cr(), angle, arrowPoint.x(), arrowPoint.y(), arrowSize);
|
/external/eigen/unsupported/test/ |
matrix_exponential.cpp | 37 T angle; local 42 angle = static_cast<T>(pow(10, i / 5. - 2)); 43 B << std::cos(angle), std::sin(angle), -std::sin(angle), std::cos(angle); 45 C = (angle*A).matrixFunction(expfn); 49 C = (angle*A).exp(); 60 T angle, ch, sh; local 64 angle = static_cast<T>((i-10) / 2.0) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
TestMovingParticle.java | 52 private float angle = 0; field in class:TestMovingParticle 88 angle += tpf; 89 angle %= FastMath.TWO_PI; 90 float x = FastMath.cos(angle) * 2; 91 float y = FastMath.sin(angle) * 2;
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
TestNormalMapping.java | 48 float angle; field in class:TestNormalMapping 86 angle += tpf * 0.25f; 87 angle %= FastMath.TWO_PI; 89 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
TestSimpleBumps.java | 47 // phong cutoff for light to normal angle > 90? 50 float angle; field in class:TestSimpleBumps 86 angle += tpf * 0.25f; 87 angle %= FastMath.TWO_PI; 89 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
TestBumpModel.java | 50 float angle; field in class:TestBumpModel 96 angle += tpf * 0.25f; 97 angle %= FastMath.TWO_PI; 99 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
|
/external/webkit/Source/WebCore/svg/ |
SVGMarkerElement.cpp | 97 SVGAngle angle; local 103 angle.setValueAsString(attr->value(), ec); 107 setOrientAngleBaseValue(angle); 226 void SVGMarkerElement::setOrientToAngle(const SVGAngle& angle) 229 setOrientAngleBaseValue(angle);
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
AngleAxis.h | 18 * \brief Represents a 3D rotation as a rotation angle around an arbitrary 3D axis 70 /** Constructs and initialize the angle-axis rotation from an \a angle in radian 73 inline AngleAxis(Scalar angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {} 74 /** Constructs and initialize the angle-axis rotation from a quaternion \a q. */ 76 /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. */ 80 Scalar angle() const { return m_angle; } function in class:Eigen::AngleAxis 81 Scalar& angle() { return m_angle; } function in class:Eigen::AngleAxis 110 /** \returns the inverse rotation, i.e., an angle-axis with opposite rotation angle * [all...] |
Rotation2D.h | 23 * as a single angle in radian. It provides some additional features such as the automatic 56 /** Construct a 2D counter clock wise rotation from the angle \a a in radian. */ 59 /** \returns the rotation angle */ 60 inline Scalar angle() const { return m_angle; } function in class:Eigen::Rotation2D 62 /** \returns a read-write reference to the rotation angle */ 63 inline Scalar& angle() { return m_angle; } function in class:Eigen::Rotation2D 88 { return m_angle * (1-t) + other.angle() * t; } 103 m_angle = Scalar(other.angle()); 122 * In other words, this function extract the rotation angle
|
/external/eigen/Eigen/src/Geometry/ |
Rotation2D.h | 24 * as a single angle in radian. It provides some additional features such as the automatic 61 /** Construct a 2D counter clock wise rotation from the angle \a a in radian. */ 64 /** \returns the rotation angle */ 65 inline Scalar angle() const { return m_angle; } function in class:Eigen::Rotation2D 67 /** \returns a read-write reference to the rotation angle */ 68 inline Scalar& angle() { return m_angle; } function in class:Eigen::Rotation2D 93 { return m_angle * (1-t) + other.angle() * t; } 108 m_angle = Scalar(other.angle()); 129 * In other words, this function extract the rotation angle
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
TestMovingParticle.java | 54 private float angle = 0; field in class:TestMovingParticle 96 angle += tpf; 97 angle %= FastMath.TWO_PI; 98 float x = FastMath.cos(angle) * 2; 99 float y = FastMath.sin(angle) * 2;
|
TestNormalMapping.java | 50 float angle; field in class:TestNormalMapping 92 angle += tpf * 0.25f; 93 angle %= FastMath.TWO_PI; 95 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
TestDoppler.java | 54 private float angle = FastMath.TWO_PI; field in class:TestDoppler 77 //float x = (float) (Math.cos(angle) * xDist); 78 float dx = (float) Math.sin(angle) * xDist; 80 //float z = (float) (Math.sin(angle) * zDist); 81 float dz = (float)(-Math.cos(angle) * zDist); 86 angle += tpf * rate; 88 if (angle > FastMath.TWO_PI){ 89 angle = FastMath.TWO_PI; 91 }else if (angle < -0){ 92 angle = -0 [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestLightNode.java | 50 float angle; field in class:TestLightNode 105 angle += tpf; 106 angle %= FastMath.TWO_PI; 108 movingNode.setLocalTranslation(new Vector3f(FastMath.cos(angle) * 3f, 2, FastMath.sin(angle) * 3f));
|
TestSimpleLighting.java | 48 float angle; field in class:TestSimpleLighting 105 angle += tpf; 106 angle %= FastMath.TWO_PI; 108 pl.setPosition(new Vector3f(FastMath.cos(angle) * 2f, 0.5f, FastMath.sin(angle) * 2f));
|
TestTangentGenBadUV.java | 49 float angle; field in class:TestTangentGenBadUV 102 angle += tpf; 103 angle %= FastMath.TWO_PI; 105 pl.setPosition(new Vector3f(FastMath.cos(angle) * 2f, 0.5f, FastMath.sin(angle) * 2f));
|
/external/jmonkeyengine/engine/src/test/jme3test/model/ |
TestMonkeyHead.java | 47 float angle; field in class:TestMonkeyHead 93 angle += tpf * 0.25f; 94 angle %= FastMath.TWO_PI; 96 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
|