Home
last modified time | relevance | path

Searched refs:mDirection (Results 1 – 25 of 765) sorted by relevance

12345678910>>...31

/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/include/
H A DOgreRay.h49 Vector3 mDirection; variable
51 Ray():mOrigin(Vector3::ZERO), mDirection(Vector3::UNIT_Z) {} in Ray()
53 :mOrigin(origin), mDirection(direction) {} in Ray()
61 void setDirection(const Vector3& dir) {mDirection = dir;} in setDirection()
63 const Vector3& getDirection(void) const {return mDirection;} in getDirection()
67 return Vector3(mOrigin + (mDirection * t)); in getPoint()
78 Real denom = p.normal.dotProduct(mDirection); in intersects()
112 Real a = mDirection.dotProduct(mDirection);
113 Real b = 2 * rayorig.dotProduct(mDirection);
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/SpatialObjects/test/
H A DitkMetaArrowConverterTest.cxx74 double mDirection[3]; in itkMetaArrowConverterTest() local
75 mDirection[0] = 0; in itkMetaArrowConverterTest()
76 mDirection[1] = 1; in itkMetaArrowConverterTest()
77 mDirection[2] = 2; in itkMetaArrowConverterTest()
78 double mNorm = mDirection[0]*mDirection[0]+mDirection[1]*mDirection[1] in itkMetaArrowConverterTest()
79 + mDirection[2]*mDirection[2]; in itkMetaArrowConverterTest()
81 mDirection[0] /= mNorm; in itkMetaArrowConverterTest()
82 mDirection[1] /= mNorm; in itkMetaArrowConverterTest()
83 mDirection[2] /= mNorm; in itkMetaArrowConverterTest()
294 mDirectionNorm[0] = mDirection[0]; in itkMetaArrowConverterTest()
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/3d/
H A Dqgsdirectionallightsettings.cpp26 elemLight.setAttribute( QStringLiteral( "x" ), mDirection.x() ); in writeXml()
27 elemLight.setAttribute( QStringLiteral( "y" ), mDirection.y() ); in writeXml()
28 elemLight.setAttribute( QStringLiteral( "z" ), mDirection.z() ); in writeXml()
36 mDirection.set( elem.attribute( QStringLiteral( "x" ) ).toFloat(), in readXml()
45 return mDirection == other.mDirection && mColor == other.mColor && mIntensity == other.mIntensity; in operator ==()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/3d/
H A Dqgsdirectionallightsettings.cpp26 elemLight.setAttribute( QStringLiteral( "x" ), mDirection.x() ); in writeXml()
27 elemLight.setAttribute( QStringLiteral( "y" ), mDirection.y() ); in writeXml()
28 elemLight.setAttribute( QStringLiteral( "z" ), mDirection.z() ); in writeXml()
36 mDirection.set( elem.attribute( QStringLiteral( "x" ) ).toFloat(), in readXml()
45 return mDirection == other.mDirection && mColor == other.mColor && mIntensity == other.mIntensity; in operator ==()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/include/
H A DOgreRay.h50 Vector3 mDirection; variable
52 Ray():mOrigin(Vector3::ZERO), mDirection(Vector3::UNIT_Z) {} in Ray()
54 :mOrigin(origin), mDirection(direction) {} in Ray()
62 void setDirection(const Vector3& dir) {mDirection = dir;} in setDirection()
64 const Vector3& getDirection(void) const {return mDirection;} in getDirection()
68 return Vector3(mOrigin + (mDirection * t)); in getPoint()
/dports/www/firefox-esr/firefox-91.8.0/dom/xslt/xpath/
H A DtxNodeSet.cpp46 mDirection(kForward), in txNodeSet()
55 mDirection(kForward), in txNodeSet()
71 mDirection(kForward), in txNodeSet()
87 NS_ASSERTION(mDirection == kForward, in add()
184 NS_ASSERTION(mDirection == kForward, in add()
302 if (mDirection == kForward) { in append()
341 if (mDirection == kForward) { in mark()
398 mDirection = kForward; in clear()
420 if (mDirection == kForward) { in get()
465 if (mDirection == kReversed) { in ensureGrowSize()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/xslt/xpath/
H A DtxNodeSet.cpp46 mDirection(kForward), in txNodeSet()
55 mDirection(kForward), in txNodeSet()
71 mDirection(kForward), in txNodeSet()
87 NS_ASSERTION(mDirection == kForward, in add()
184 NS_ASSERTION(mDirection == kForward, in add()
302 if (mDirection == kForward) { in append()
341 if (mDirection == kForward) { in mark()
398 mDirection = kForward; in clear()
420 if (mDirection == kForward) { in get()
465 if (mDirection == kReversed) { in ensureGrowSize()
[all …]
/dports/www/firefox/firefox-99.0/dom/xslt/xpath/
H A DtxNodeSet.cpp46 mDirection(kForward), in txNodeSet()
55 mDirection(kForward), in txNodeSet()
71 mDirection(kForward), in txNodeSet()
87 NS_ASSERTION(mDirection == kForward, in add()
184 NS_ASSERTION(mDirection == kForward, in add()
302 if (mDirection == kForward) { in append()
341 if (mDirection == kForward) { in mark()
398 mDirection = kForward; in clear()
420 if (mDirection == kForward) { in get()
465 if (mDirection == kReversed) { in ensureGrowSize()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/xslt/xpath/
H A DtxNodeSet.cpp46 mDirection(kForward), in txNodeSet()
55 mDirection(kForward), in txNodeSet()
71 mDirection(kForward), in txNodeSet()
87 NS_ASSERTION(mDirection == kForward, in add()
184 NS_ASSERTION(mDirection == kForward, in add()
302 if (mDirection == kForward) { in append()
341 if (mDirection == kForward) { in mark()
398 mDirection = kForward; in clear()
420 if (mDirection == kForward) { in get()
465 if (mDirection == kReversed) { in ensureGrowSize()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/xslt/xpath/
H A DtxNodeSet.cpp46 mDirection(kForward), in txNodeSet()
57 mDirection(kForward), in txNodeSet()
74 mDirection(kForward), in txNodeSet()
93 NS_ASSERTION(mDirection == kForward, in add()
193 NS_ASSERTION(mDirection == kForward, in add()
315 if (mDirection == kForward) { in append()
358 if (mDirection == kForward) { in mark()
421 mDirection = kForward; in clear()
447 if (mDirection == kForward) { in get()
509 if (mDirection == kReversed) { in ensureGrowSize()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/xslt/xpath/
H A DtxNodeSet.cpp46 mDirection(kForward), in txNodeSet()
55 mDirection(kForward), in txNodeSet()
71 mDirection(kForward), in txNodeSet()
87 NS_ASSERTION(mDirection == kForward, in add()
184 NS_ASSERTION(mDirection == kForward, in add()
302 if (mDirection == kForward) { in append()
341 if (mDirection == kForward) { in mark()
398 mDirection = kForward; in clear()
420 if (mDirection == kForward) { in get()
465 if (mDirection == kReversed) { in ensureGrowSize()
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/core/geometry/
H A Dqgsray3d.cpp21 , mDirection( direction.normalized() ) in QgsRay3D()
33 mDirection = direction.normalized(); in setDirection()
38 return mOrigin + QVector3D::dotProduct( point - mOrigin, mDirection ) * mDirection; in projectedPoint()
43 return QVector3D::dotProduct( ( point - mOrigin ).normalized(), mDirection ) >= 0.0; in isInFront()
/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/graphics/openGL/
H A DDirectionLightingGL.h49 Vector3D *mDirection; variable
57 : mColor( inColor ), mDirection( inDirection ) { in DirectionLightingGL()
60 mDirection->scale( -1 ); in DirectionLightingGL()
68 delete mDirection; in ~DirectionLightingGL() local
76 double dot = inNormal->dot( mDirection ); in getLighting()
/dports/games/opendungeons/OpenDungeons-0.7.1/source/entities/
H A DMissileObject.cpp36 mDirection(direction), in MissileObject()
51 mDirection(Ogre::Vector3::ZERO), in MissileObject()
100 mIsMissileAlive = computeDestination(position, moveDist, mDirection, destination, tiles); in doUpkeep()
119 mIsMissileAlive = wallHitNextDirection(mDirection, lastTile, nextDirection); in doUpkeep()
132 mDirection = nextDirection; in doUpkeep()
133 … mIsMissileAlive = computeDestination(position, moveDist, mDirection, destination, tiles); in doUpkeep()
177 destination -= moveDist * mDirection; in doUpkeep()
193 destination -= moveDist * mDirection; in doUpkeep()
299 os << mDirection.x << "\t" << mDirection.y << "\t" << mDirection.z << "\t"; in exportToStream()
310 if(!(is >> mDirection.x >> mDirection.y >> mDirection.z)) in importFromStream()
/dports/www/firefox/firefox-99.0/editor/spellchecker/
H A DFilteredContentIterator.cpp36 mDirection(eDirNotSet) {} in FilteredContentIterator()
49 mDirection = eForward; in NS_IMPL_CYCLE_COLLECTION()
105 mDirection = eForward; in InitWithRange()
120 mDirection = eForward; in SwitchDirections()
123 mDirection = eBackward; in SwitchDirections()
145 if (mDirection != eForward) { in First()
147 mDirection = eForward; in First()
172 if (mDirection != eBackward) { in Last()
174 mDirection = eBackward; in Last()
330 if (mDirection != eForward) { in Next()
[all …]
/dports/multimedia/assimp/assimp-5.1.3/test/unit/
H A DutBlendImportAreaLight.cpp103 EXPECT_FLOAT_EQ(lights[0].mDirection.x, 0.0f); in TEST_F()
104 EXPECT_FLOAT_EQ(lights[0].mDirection.y, 0.0f); in TEST_F()
105 EXPECT_FLOAT_EQ(lights[0].mDirection.z, -1.0f); in TEST_F()
106 EXPECT_FLOAT_EQ(lights[2].mDirection.x, 0.0f); in TEST_F()
107 EXPECT_FLOAT_EQ(lights[2].mDirection.y, 0.0f); in TEST_F()
108 EXPECT_FLOAT_EQ(lights[2].mDirection.z, -1.0f); in TEST_F()
/dports/www/firefox-esr/firefox-91.8.0/editor/spellchecker/
H A DFilteredContentIterator.cpp35 mDirection(eDirNotSet) {} in FilteredContentIterator()
48 mDirection = eForward; in NS_IMPL_CYCLE_COLLECTION()
104 mDirection = eForward; in InitWithRange()
119 mDirection = eForward; in SwitchDirections()
122 mDirection = eBackward; in SwitchDirections()
144 if (mDirection != eForward) { in First()
146 mDirection = eForward; in First()
171 if (mDirection != eBackward) { in Last()
173 mDirection = eBackward; in Last()
335 if (mDirection != eForward) { in Next()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/editor/spellchecker/
H A DFilteredContentIterator.cpp35 mDirection(eDirNotSet) {} in FilteredContentIterator()
48 mDirection = eForward; in NS_IMPL_CYCLE_COLLECTION()
104 mDirection = eForward; in InitWithRange()
119 mDirection = eForward; in SwitchDirections()
122 mDirection = eBackward; in SwitchDirections()
144 if (mDirection != eForward) { in First()
146 mDirection = eForward; in First()
171 if (mDirection != eBackward) { in Last()
173 mDirection = eBackward; in Last()
335 if (mDirection != eForward) { in Next()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/editor/spellchecker/
H A DFilteredContentIterator.cpp35 mDirection(eDirNotSet) {} in FilteredContentIterator()
48 mDirection = eForward; in NS_IMPL_CYCLE_COLLECTION()
104 mDirection = eForward; in InitWithRange()
119 mDirection = eForward; in SwitchDirections()
122 mDirection = eBackward; in SwitchDirections()
144 if (mDirection != eForward) { in First()
146 mDirection = eForward; in First()
171 if (mDirection != eBackward) { in Last()
173 mDirection = eBackward; in Last()
335 if (mDirection != eForward) { in Next()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/editor/txtsvc/
H A DnsFilteredContentIterator.cpp27 mDirection(eDirNotSet) in nsFilteredContentIterator()
63 mDirection = eForward; in NS_IMPL_CYCLE_COLLECTING_RELEASE()
85 mDirection = eForward; in Init()
103 mDirection = eForward; in SwitchDirections()
106 mDirection = eBackward; in SwitchDirections()
131 if (mDirection != eForward) { in First()
133 mDirection = eForward; in First()
162 if (mDirection != eBackward) { in Last()
164 mDirection = eBackward; in Last()
343 if (mDirection != eForward) { in Next()
[all …]
/dports/www/firefox/firefox-99.0/dom/animation/
H A DScrollTimeline.h102 mDirection == aOther.mDirection;
169 return mDirection == StyleScrollDirection::Horizontal || in GetPhysicalOrientation()
171 mDirection == StyleScrollDirection::Inline) || in GetPhysicalOrientation()
173 (mDirection == StyleScrollDirection::Block || in GetPhysicalOrientation()
174 mDirection == StyleScrollDirection::Auto)) in GetPhysicalOrientation()
188 StyleScrollDirection mDirection; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/gesture/
H A DSwipeGestureListener.java108 private int mDirection = ScrollDirection.UNKNOWN; field in SwipeGestureListener
157 && mDirection != ScrollDirection.UNKNOWN) { in onTouchEvent()
159 mDirection = ScrollDirection.UNKNOWN; in onTouchEvent()
193 if (mDirection == ScrollDirection.UNKNOWN && shouldRecognizeSwipe(e1, e2)) { in onScroll()
211 mDirection = direction; in onScroll()
217 if (mDirection != ScrollDirection.UNKNOWN) { in onScroll()
230 if (mDirection != ScrollDirection.UNKNOWN) { in onFling()
231 mHandler.onFling(mDirection, e2, e2.getRawX() - mMotionStartPoint.x, in onFling()
/dports/graphics/qgis/qgis-3.22.3/src/core/layertree/
H A Dqgscolorramplegendnodesettings.cpp34 , mDirection( other.mDirection ) in QgsColorRampLegendNodeSettings()
49 mDirection = other.mDirection; in operator =()
60 return mDirection; in direction()
65 mDirection = direction; in setDirection()
107 settingsElement.setAttribute( QStringLiteral( "direction" ), static_cast< int >( mDirection ) ); in writeXml()
132mDirection = static_cast< QgsColorRampLegendNodeSettings::Direction >( settingsElement.attribute(… in readXml()
/dports/lang/spidermonkey60/firefox-60.9.0/editor/spellchecker/
H A DnsFilteredContentIterator.cpp31 mDirection(eDirNotSet) { in nsFilteredContentIterator()
59 mDirection = eForward; in NS_IMPL_CYCLE_COLLECTING_RELEASE()
124 mDirection = eForward; in InitWithRange()
140 mDirection = eForward; in SwitchDirections()
143 mDirection = eBackward; in SwitchDirections()
166 if (mDirection != eForward) { in First()
168 mDirection = eForward; in First()
194 if (mDirection != eBackward) { in Last()
196 mDirection = eBackward; in Last()
361 if (mDirection != eForward) { in Next()
[all …]
/dports/graphics/libksane/libksane-21.12.3/src/
H A Dsplittercollapser.cpp56 Direction mDirection; member
62 return mDirection & Vertical; in isVertical()
89 if (mDirection == LTR) { in updatePosition()
119 q->setArrowType(arrowForDirection[mDirection].get(isVisible())); in updateArrow()
189 d->mDirection = LTR; in SplitterCollapser()
191 d->mDirection = RTL; in SplitterCollapser()
195 d->mDirection = static_cast<Direction>(int(d->mDirection) + int(TTB)); in SplitterCollapser()
283 if (d->mDirection == LTR) { in paintEvent()

12345678910>>...31