Home
last modified time | relevance | path

Searched refs:_angle (Results 1 – 25 of 764) sorted by relevance

12345678910>>...31

/dports/graphics/gauche-gl/Gauche-gl-0.6/examples/
H A Dgears.scm40 (gl-vertex (* r0 (cos _angle)) (* r0 (sin _angle)) (* width 0.5))
41 (gl-vertex (* r1 (cos _angle)) (* r1 (sin _angle)) (* width 0.5))
43 (gl-vertex (* r0 (cos _angle)) (* r0 (sin _angle)) (* width 0.5))
53 (gl-vertex (* r1 (cos _angle)) (* r1 (sin _angle)) (* width 0.5))
71 (gl-vertex (* r1 (cos _angle)) (* r1 (sin _angle)) (* width -0.5))
72 (gl-vertex (* r0 (cos _angle)) (* r0 (sin _angle)) (* width -0.5))
106 (set! u (- (* r2 (cos (+ _angle da))) (* r1 (cos _angle))))
107 (set! v (- (* r2 (sin (+ _angle da))) (* r1 (sin _angle))))
121 (gl-normal (cos _angle) (sin _angle) 0.0)
142 (gl-normal (cos _angle) (sin _angle) 0.0)))
[all …]
/dports/lang/ypsilon/ypsilon-0.9.6-update3/example/
H A Dgears.scm65 (glVertex3f (* r0 (cos _angle)) (* r0 (sin _angle)) (* width 0.5))
66 (glVertex3f (* r1 (cos _angle)) (* r1 (sin _angle)) (* width 0.5))
78 (glVertex3f (* r1 (cos _angle)) (* r1 (sin _angle)) (* width 0.5))
96 (glVertex3f (* r1 (cos _angle)) (* r1 (sin _angle)) (* width -0.5))
97 (glVertex3f (* r0 (cos _angle)) (* r0 (sin _angle)) (* width -0.5))
128 (glVertex3f (* r1 (cos _angle)) (* r1 (sin _angle)) (* width 0.5))
131 (set! u (- (* r2 (cos (+ _angle da))) (* r1 (cos _angle))))
132 (set! v (- (* r2 (sin (+ _angle da))) (* r1 (sin _angle))))
146 (glNormal3f (cos _angle) (sin _angle) 0.0)
167 (glNormal3f (cos _angle) (sin _angle) 0.0)))
[all …]
/dports/math/ignition-math/ignitionrobotics-ign-math-46f3dd24499c/include/ignition/math/
H A DAngle.hh72 public: Angle(const Angle &_angle);
110 public: Angle operator-(const Angle &_angle) const;
115 public: Angle operator+(const Angle &_angle) const;
120 public: Angle operator*(const Angle &_angle) const;
125 public: Angle operator/(const Angle &_angle) const;
130 public: Angle operator-=(const Angle &_angle);
135 public: Angle operator+=(const Angle &_angle);
140 public: Angle operator*=(const Angle &_angle);
145 public: Angle operator/=(const Angle &_angle);
160 public: bool operator<(const Angle &_angle) const;
[all …]
/dports/games/pipewalker/pipewalker-0.9.4/src/
H A Dcell.cpp34 _angle = 0.0f; in reset()
65 _angle = rotate * 90.0f; in load()
152 _angle = 0.0f; in add_tube()
155 if (_right_conn) _angle = 90.0f * 3; in add_tube()
233 _rotate.init_angle = _angle; in rotate()
260 _angle = _rotate.init_angle; in calculate_state()
281 _angle = _rotate.need_angle; in update_rotate_state()
282 if (_angle > 359.0f) in update_rotate_state()
283 _angle = 0.0f; in update_rotate_state()
284 else if (_angle < 0.0f) in update_rotate_state()
[all …]
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgParticle/
H A DParticle.cpp39 _angle(0, 0, 0), in Particle()
118 _prev_angle = _angle; in update()
119 _angle += _angul_arvel * dt; in update()
121 if (_angle.x() > osg::PI*2) _angle.x() -= osg::PI*2; in update()
122 if (_angle.x() < -osg::PI*2) _angle.x() += osg::PI*2; in update()
123 if (_angle.y() > osg::PI*2) _angle.y() -= osg::PI*2; in update()
124 if (_angle.y() < -osg::PI*2) _angle.y() += osg::PI*2; in update()
125 if (_angle.z() > osg::PI*2) _angle.z() -= osg::PI*2; in update()
126 if (_angle.z() < -osg::PI*2) _angle.z() += osg::PI*2; in update()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgAnimation/
H A DStackedRotateAxisElement.cpp19 …osg::Vec3& axis, double angle) : StackedTransformElement(), _axis(axis), _angle(angle) { setName(n… in StackedRotateAxisElement()
20 …kedRotateAxisElement(const osg::Vec3& axis, double angle) : _axis(axis), _angle(angle) { setName("… in StackedRotateAxisElement()
21 StackedRotateAxisElement::StackedRotateAxisElement() : _axis(osg::Vec3(1,0,0)), _angle(0) {} in StackedRotateAxisElement()
22 …ment& rhs, const osg::CopyOp&) : StackedTransformElement(rhs), _axis(rhs._axis), _angle(rhs._angle) in StackedRotateAxisElement()
29 …kedRotateAxisElement::getAsMatrix() const { return osg::Matrix::rotate(osg::Quat(_angle, _axis)); } in getAsMatrix()
33 _angle = _target->getValue(); in update()
37 double StackedRotateAxisElement::getAngle() const { return _angle; } in getAngle()
45 _angle = angle; in setAngle()
51 _target = new FloatTarget(_angle); in getOrCreateTarget()
55 …nt::applyToMatrix(osg::Matrix& matrix) const { matrix.preMultRotate(osg::Quat(_angle, _axis)); } in applyToMatrix()
/dports/math/ignition-math/ignitionrobotics-ign-math-46f3dd24499c/src/
H A DAngle.i35 public: Angle(const Angle &_angle);
43 public: Angle operator-(const Angle &_angle) const;
44 public: Angle operator+(const Angle &_angle) const;
45 public: Angle operator*(const Angle &_angle) const;
46 public: Angle operator/(const Angle &_angle) const;
47 public: bool operator==(const Angle &_angle) const;
48 public: bool operator<(const Angle &_angle) const;
49 public: bool operator<=(const Angle &_angle) const;
50 public: bool operator>(const Angle &_angle) const;
51 public: bool operator>=(const Angle &_angle) const;
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/include/2geom/
H A Dangle.h75 Angle() : _angle(0) {} in Angle()
81 _angle += o._angle;
86 _angle -= o._angle;
99 return _angle == o._angle;
102 return _angle == Angle(c)._angle;
108 return _angle >= M_PI ? _angle - 2*M_PI : _angle; in radians()
113 return _angle; in radians0()
149 a._angle = rad; in from_degrees_clock()
155 _angle = std::fmod(_angle, 2*M_PI); in _normalize()
156 if (_angle < 0) _angle += 2*M_PI; in _normalize()
[all …]
/dports/math/lib2geom/lib2geom-1.1/include/2geom/
H A Dangle.h75 Angle() : _angle(0) {} in Angle()
81 _angle += o._angle;
86 _angle -= o._angle;
99 return _angle == o._angle;
102 return _angle == Angle(c)._angle;
108 return _angle >= M_PI ? _angle - 2*M_PI : _angle; in radians()
113 return _angle; in radians0()
149 a._angle = rad; in from_degrees_clock()
155 _angle = std::fmod(_angle, 2*M_PI); in _normalize()
156 if (_angle < 0) _angle += 2*M_PI; in _normalize()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgAnimation/
H A DStackedRotateAxisElement.cpp19 …osg::Vec3& axis, double angle) : StackedTransformElement(), _axis(axis), _angle(angle) { setName(n… in StackedRotateAxisElement()
20 …kedRotateAxisElement(const osg::Vec3& axis, double angle) : _axis(axis), _angle(angle) { setName("… in StackedRotateAxisElement()
22 …ment& rhs, const osg::CopyOp&) : StackedTransformElement(rhs), _axis(rhs._axis), _angle(rhs._angle) in StackedRotateAxisElement()
29 …kedRotateAxisElement::getAsMatrix() const { return osg::Matrix::rotate(osg::Quat(_angle, _axis)); } in getAsMatrix()
33 _angle = _target->getValue(); in update()
37 double StackedRotateAxisElement::getAngle() const { return _angle; } in getAngle()
45 _angle = angle; in setAngle()
51 _target = new FloatTarget(_angle); in getOrCreateTarget()
55 …nt::applyToMatrix(osg::Matrix& matrix) const { matrix.preMultRotate(osg::Quat(_angle, _axis)); } in applyToMatrix()
/dports/graphics/opencv/opencv-4.5.3/modules/core/misc/java/src/java/
H A Dcore+KeyPoint.java36 …public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave, int _cl… in KeyPoint() argument
39 angle = _angle; in KeyPoint()
51 public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave) { in KeyPoint() argument
52 this(x, y, _size, _angle, _response, _octave, -1); in KeyPoint()
56 public KeyPoint(float x, float y, float _size, float _angle, float _response) { in KeyPoint() argument
57 this(x, y, _size, _angle, _response, 0, -1); in KeyPoint()
61 public KeyPoint(float x, float y, float _size, float _angle) { in KeyPoint() argument
62 this(x, y, _size, _angle, 0, 0, -1); in KeyPoint()
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Tools/Decimater/
H A DModRoundnessT.hh193 void set_min_angle( float _angle, bool /* _binary=true */ ) in set_min_angle() argument
195 assert( _angle > 0 && _angle < 60 ); in set_min_angle()
197 _angle = float(M_PI * _angle /180.0); in set_min_angle()
202 B = Vec3f( 2.0f * cos(_angle), 0.0f, 0.0f); in set_min_angle()
203 C = Vec3f( cos(_angle), sin(_angle), 0.0f); in set_min_angle()
207 _angle = float(0.5 * ( M_PI - _angle )); in set_min_angle()
210 B = Vec3f( 2.0f*cos(_angle), 0.0f, 0.0f); in set_min_angle()
211 C = Vec3f( cos(_angle), sin(_angle), 0.0f); in set_min_angle()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/include/render/
H A Dviewports.h53 , _angle(angle) in origin()
58 , _angle(other._angle) in viewer_t()
63 _angle + int(pos * (int(end._angle) - int(_angle))), in lerp()
67 angle_t angleWithoutHeadTracking() const { return _angle; } in angleWithoutHeadTracking()
68 void setAngle(angle_t a) { _angle = a; } in setAngle()
71 angle_t _angle;
/dports/misc/dartsim/dart-6.11.1/dart/math/
H A DGeometry.cpp895 double cy = cos(_angle(1)); in eulerXYXToMatrix()
896 double sy = sin(_angle(1)); in eulerXYXToMatrix()
925 double cx = cos(_angle[0]); in eulerXYZToMatrix()
926 double sx = sin(_angle[0]); in eulerXYZToMatrix()
927 double cy = cos(_angle[1]); in eulerXYZToMatrix()
928 double sy = sin(_angle[1]); in eulerXYZToMatrix()
929 double cz = cos(_angle[2]); in eulerXYZToMatrix()
930 double sz = sin(_angle[2]); in eulerXYZToMatrix()
959 double cz = cos(_angle(1)); in eulerXZXToMatrix()
960 double sz = sin(_angle(1)); in eulerXZXToMatrix()
[all …]
/dports/misc/usd/USD-21.11/pxr/base/gf/
H A Drotation.h90 _angle = angle; in SetAxisAngle()
117 _angle = 0.0; in SetIdentity()
128 return _angle; in GetAngle()
143 return GfRotation(_axis, -_angle); in GetInverse()
226 boost::hash_combine(h, r._angle); in hash_value()
236 _angle == r._angle);
253 _angle *= scale;
259 _angle /= scale;
295 double _angle; variable
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgParticle/
H A DParticle.cpp40 _angle(0, 0, 0), in place()
119 _prev_angle = _angle;
120 _angle += _angul_arvel * dt;
122 if (_angle.x() > osg::PI*2) _angle.x() -= osg::PI*2;
123 if (_angle.x() < -osg::PI*2) _angle.x() += osg::PI*2;
124 if (_angle.y() > osg::PI*2) _angle.y() -= osg::PI*2;
125 if (_angle.y() < -osg::PI*2) _angle.y() += osg::PI*2;
126 if (_angle.z() > osg::PI*2) _angle.z() -= osg::PI*2;
127 if (_angle.z() < -osg::PI*2) _angle.z() += osg::PI*2;
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/Geometry/
H A DMathDefs.hh147 inline T positive_angle(T _angle) in positive_angle() argument
148 { return _angle < 0 ? (2*M_PI + _angle) : _angle; } in positive_angle()
155 inline T deg_to_rad(const T& _angle) in deg_to_rad() argument
156 { return M_PI*(_angle/180); } in deg_to_rad()
159 inline T rad_to_deg(const T& _angle) in rad_to_deg() argument
160 { return 180*(_angle/M_PI); } in rad_to_deg()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/he/moonbase/
H A Dai_pattern.h36 int _angle; variable
43 _angle = 0; in patternInstance()
69 _angle = 1; in setAngle()
72 _angle = 2; in setAngle()
75 _angle = 3; in setAngle()
78 _angle = 4; in setAngle()
84 int getAngleIndex() const { return _angle; } in getAngleIndex()
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/moonbase/
H A Dai_pattern.h36 int _angle; variable
43 _angle = 0; in patternInstance()
69 _angle = 1; in setAngle()
72 _angle = 2; in setAngle()
75 _angle = 3; in setAngle()
78 _angle = 4; in setAngle()
84 int getAngleIndex() const { return _angle; } in getAngleIndex()
/dports/cad/horizon-eda/horizon-2.1.0/src/canvas/shaders/
H A Dpicture-vertex.glsl10 mat2 rotate2d(float _angle){
11 return mat2(cos(_angle),-sin(_angle),
12 sin(_angle),cos(_angle));
H A Dgrid-vertex.glsl16 mat2 rotate2d(float _angle){
17 return mat2(cos(_angle),-sin(_angle),
18 sin(_angle),cos(_angle));
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DRotateFilter.cpp6 _angle = angle; in RotateFilter()
31 return _angle; in GetAngle()
39 if(_angle == 90) { in ApplyFilter()
46 } else if(_angle == 180) { in ApplyFilter()
53 } else if(_angle == 270) { in ApplyFilter()
68 if(_angle % 180) { in GetFrameInfo()
/dports/graphics/py-toyplot/toyplot-0.19.0/toyplot/
H A Dmarker.py23 self._angle = angle
41 return self._angle
61 if other._angle is not None:
62 result._angle = other._angle
71 …mstyle == other._mstyle and self._shape == other._shape and self._angle == other._angle and self._…
74 return hash((self._shape, self._mstyle, self._size, self._angle, self._label, self._lstyle))
91 " angle='%s'" % self._angle if self._angle else "",
/dports/games/scummvm/scummvm-2.5.1/engines/twine/scene/
H A Dmovements.cpp68 setActorAngleSafe(actorPtr->_angle, actorPtr->_angle, ANGLE_0, &actorPtr->_move); in clearRealAngle()
227 actor->_angle = actor->_move.getRealAngle(_engine->_lbaTime); in processBehaviourExecution()
275 actor->_angle = actor->_move.getRealAngle(_engine->_lbaTime); in processAttackExecution()
285 actor->_angle = actor->_move.getRealAngle(_engine->_lbaTime); in processAttackExecution()
327 actor->_angle = actor->_move.getRealAngle(_engine->_lbaTime); in processManualMovementExecution()
362 moveActor(actor->_angle, actor->_angle + tempAngle, actor->_speed, &actor->_move); in processManualRotationExecution()
388 actor->_angle = newAngle; in processFollowAction()
401 …moveActor(actor->_angle, ClampAngle((_engine->getRandomNumber() & ANGLE_90) + (actor->_angle - ANG… in processRandomAction()
409 …moveActor(actor->_angle, ClampAngle((_engine->getRandomNumber() & ANGLE_90) + (actor->_angle - ANG… in processRandomAction()
447 moveActor(actor->_angle, actor->_angle + tempAngle, actor->_speed, &actor->_move); in processActorMovements()
[all …]
/dports/games/ags/ags_linux_v.3.4.4.1/Common/libsrc/aastr-0.1.1/
H A Daarot.c23 _aa_rotate_bitmap (BITMAP *_src, BITMAP *_dst, int _x, int _y, fixed _angle, in _aa_rotate_bitmap() argument
67 _angle %= itofix (256); in _aa_rotate_bitmap()
68 if (_angle < 0) in _aa_rotate_bitmap()
69 _angle += itofix (256); in _aa_rotate_bitmap()
88 fsinangle = fixsin (_angle); in _aa_rotate_bitmap()
89 fcosangle = fixcos (_angle); in _aa_rotate_bitmap()
162 if ((_angle < itofix (32)) || (_angle >= itofix (128 + 64 + 32))) in _aa_rotate_bitmap()
192 else if (_angle < itofix (64 + 32)) in _aa_rotate_bitmap()
222 else if (_angle < itofix (128 + 32)) in _aa_rotate_bitmap()
581 _aa_rotate_bitmap (_src, _dst, _x, _y, _angle, _scalex, _scaley, 0); in aa_rotate_scaled_bitmap()
[all …]

12345678910>>...31