Home
last modified time | relevance | path

Searched refs:normalizedVector (Results 1 – 7 of 7) sorted by relevance

/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/worklet/testing/
H A DUnitTestDotProduct.cxx20 T normalizedVector(T v) in normalizedVector() function
31 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
32 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
35 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
36 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(-1), T(0), T(0)))); in createVectors()
39 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
40 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(0), T(1), T(0)))); in createVectors()
43 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
47 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
48 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(1), T(1), T(0)))); in createVectors()
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/worklet/testing/
H A DUnitTestDotProduct.cxx30 T normalizedVector(T v) in normalizedVector() function
41 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
42 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
45 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
46 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(-1), T(0), T(0)))); in createVectors()
49 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
50 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(0), T(1), T(0)))); in createVectors()
53 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
57 vecs1.push_back(normalizedVector(vtkm::make_Vec(T(1), T(0), T(0)))); in createVectors()
58 vecs2.push_back(normalizedVector(vtkm::make_Vec(T(1), T(1), T(0)))); in createVectors()
[all …]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/testing/
H A DUnitTestVectorAnalysis.cxx81 VectorType normalizedVector = vector; in TestVector() local
82 vtkm::Normalize(normalizedVector); in TestVector()
155 T normalizedVector = T(vtkm::RSqrt(ComponentType(NUM_COMPONENTS))); in operator ()() local
160 TestVector(normalizedVector); in operator ()()
166 TestLerp(zeroVector, normalizedVector, weight, weightS); in operator ()()
170 TestLerp(normalizedVector, zeroVector, weight, weightS); in operator ()()
171 TestLerp(normalizedVector, posVec, weight, weightS); in operator ()()
172 TestLerp(normalizedVector, negVec, weight, weightS); in operator ()()
175 TestLerp(posVec, normalizedVector, weight, weightS); in operator ()()
179 TestLerp(negVec, normalizedVector, weight, weightS); in operator ()()
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/testing/
H A DUnitTestVectorAnalysis.cxx100 VectorType normalizedVector = vector; in TestVector() local
101 vtkm::Normalize(normalizedVector); in TestVector()
186 T normalizedVector = T(vtkm::RSqrt(ComponentType(NUM_COMPONENTS))); in operator ()() local
191 TestVector(normalizedVector); in operator ()()
197 TestLerp(zeroVector, normalizedVector, weight, weightS); in operator ()()
201 TestLerp(normalizedVector, zeroVector, weight, weightS); in operator ()()
202 TestLerp(normalizedVector, posVec, weight, weightS); in operator ()()
203 TestLerp(normalizedVector, negVec, weight, weightS); in operator ()()
206 TestLerp(posVec, normalizedVector, weight, weightS); in operator ()()
210 TestLerp(negVec, normalizedVector, weight, weightS); in operator ()()
[all …]
/dports/devel/raknet/raknet-3.9.2_10,1/Samples/RPC3/
H A DRPC3Sample.cpp170 NormalizedVector normalizedVector; in main() local
263 CFunc(rs, intArray,&c,"Test string",&normalizedVector,normalizedVector,0); in main()
311 CFunc(rs, intArray,&c,"Test string (2)",&normalizedVector,normalizedVector,0); in main()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/
H A DPlane.h71 …,S> planeContainingVector(const Vec<T,S>& position, const Vec<T,S>& normalizedVector, const Vec<T,… in planeContainingVector() argument
73 const Vec<T,S> point = position + normalizedVector * diff.dot(normalizedVector); in planeContainingVector()
/dports/audio/musescore/MuseScore-3.6.1/libmscore/
H A Dnote.cpp1618 QVector2D normalizedVector(x, y); in editModeByDragDirection() local
1620 normalizedVector.normalize(); in editModeByDragDirection()
1622 float radians = QVector2D::dotProduct(normalizedVector, QVector2D(1, 0)); in editModeByDragDirection()