Home
last modified time | relevance | path

Searched refs:Vec3 (Results 1 – 25 of 3153) sorted by relevance

12345678910>>...127

/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_06_math/
H A Dtest_621_bspline.py204 Vec3(0.0, 0.0, 0.0),
232 Vec3(3.0, 3.0, 0.0)
243 Vec3(0.0, 0.0, 0.0),
263 Vec3(50.0, 0.0, 30.0)
267 [Vec3(0.0, 0.0, 0.0), Vec3(60.0, 120.0, 120.0), Vec3(0.0, -600.0, -420.0)],
295 [Vec3(27.5, 12.5, 23.75), Vec3(45.0, -15.0, 7.5), Vec3(-60.0, 60.0, -30.0)],
323 [Vec3(50.0, 0.0, 30.0), Vec3(60.0, -60.0, 30.0),
327 Vec3(0.0, 0.0, 0.0),
351 Vec3(0.0, 0.0, 0.0),
352 Vec3(2.0, 4.0, 4.0),
[all …]
/dports/science/healpix/Healpix_3.50/src/java/src/healpix/essentials/test/
H A DMocQueryTest.java34 private ArrayList<Vec3> rawToPoly(double[] inp) throws Exception in rawToPoly()
38 ArrayList<Vec3> res = new ArrayList<Vec3>(); in rawToPoly()
40 res.add(new Vec3(new Pointing(Math.PI/2 - Math.toRadians(inp[i+1]), in rawToPoly()
44 private void checkPoly(ArrayList<Vec3> poly, int o1, int o2, String out) in checkPoly()
108 ArrayList<Vec3> vert=new ArrayList<Vec3>(); in test3()
109 vert.add(new Vec3(new Pointing(1.1523428941043317,1.000795791041251))); in test3()
112 vert.add(new Vec3(new Pointing(1.1519887035905163,1.001151578519077))); in test3()
113 vert.add(new Vec3(new Pointing(1.151859918897493,1.0012809839336458))); in test3()
114 vert.add(new Vec3(new Pointing(1.1514894198468866,1.001263637028638))); in test3()
119 vert.add(new Vec3(new Pointing(1.150673007120061,1.0007849744501682))); in test3()
[all …]
/dports/science/simbody/simbody-Simbody-3.7/Simbody/tests/
H A DTestOrientedBoundingBox.cpp45 OrientedBoundingBox box(Vec3(0), Vec3(1, 2, 3)); in testContainsPoint()
55 box = OrientedBoundingBox(Vec3(3, 2, 1), Vec3(1, 2, 3)); in testContainsPoint()
73 void verifyCorners(Vec3 expected[8], Vec3 found[8]) { in verifyCorners()
90Vec3 expected[] = {Vec3(0), Vec3(1, 0, 0), Vec3(0, 2, 0), Vec3(1, 2, 0), Vec3(0, 0, 3), Vec3(1, 0,… in testGetCorners()
95Vec3 expected[] = {Vec3(3, 2, 1), Vec3(4, 2, 1), Vec3(3, 4, 1), Vec3(4, 4, 1), Vec3(3, 2, 4), Vec3 in testGetCorners()
101Vec3 expected[] = {Vec3(0), Vec3(-d, d, 0), Vec3(d, d, 0), Vec3(0, Sqrt2, 0), Vec3(0, 0, 1), Vec3(… in testGetCorners()
114 …erifyBoxIntersection(true, OrientedBoundingBox(Vec3(0), Vec3(1, 2, 3)), OrientedBoundingBox(Vec3(0… in testIntersectsBox()
115 …rsection(true, OrientedBoundingBox(Vec3(0), Vec3(1, 2, 3)), OrientedBoundingBox(Vec3(1-1e-10, 2-1e… in testIntersectsBox()
116 …section(false, OrientedBoundingBox(Vec3(0), Vec3(1, 2, 3)), OrientedBoundingBox(Vec3(1+1e-10, 2-1e… in testIntersectsBox()
117 …section(false, OrientedBoundingBox(Vec3(0), Vec3(1, 2, 3)), OrientedBoundingBox(Vec3(1-1e-10, 2+1e… in testIntersectsBox()
[all …]
H A DTestMobilizerReactionForces.cpp307 R_G1*Vec3(0,1,0), Vec3(0)); in testByComparingToConstraints2()
309 R_G1b*Vec3(0,1,0), Vec3(0)); in testByComparingToConstraints2()
357 …MobilizedBody::Pin body2(body1, Vec3(0.1, 0.1, 0), MassProperties(20.0, Vec3(0), inertia), Vec3(0,… in testByComparingToSDFAST()
358 …MobilizedBody::Gimbal body3(body2, Vec3(0, 0.2, 0), MassProperties(20.0, Vec3(0), inertia), Vec3(0… in testByComparingToSDFAST()
359 …MobilizedBody::Pin body4(body3, Vec3(0, 0.2, 0), MassProperties(30.0, Vec3(0), inertia), Vec3(0, -… in testByComparingToSDFAST()
455 MassProperties(20.0, Vec3(0), inertia), Vec3(0, 0.2, 0)); in testByComparingToSDFASTWithConstraint()
457 MassProperties(20.0, Vec3(0), inertia), Vec3(0, 0.2, 0)); in testByComparingToSDFASTWithConstraint()
459 MassProperties(30.0, Vec3(0), inertia), Vec3(0, 0.2, 0)); in testByComparingToSDFASTWithConstraint()
461 MassProperties(30.0, Vec3(0), inertia), Vec3(0, 0.2, 0)); in testByComparingToSDFASTWithConstraint()
526 const Transform X_GF(Rotation(Pi/3, Vec3(.1,-.3,.3)), Vec3(-4,-5,-1));
[all …]
/dports/games/trenchbroom/TrenchBroom-ed46601/test/src/Model/
H A DBrushTest.cpp118 …faces.push_back(BrushFace::createParaxial(Vec3(-192.0, 704.0, 128.0), Vec3(-156.0, 650.0, 128.0), in TEST()
119 …faces.push_back(BrushFace::createParaxial(Vec3(-202.0, 604.0, 160.0), Vec3(-164.0, 664.0, 128.0), in TEST()
120 …faces.push_back(BrushFace::createParaxial(Vec3(-156.0, 650.0, 128.0), Vec3(-202.0, 604.0, 128.0), in TEST()
449 brush.pick(Ray3(Vec3(8.0, -8.0, 8.0), Vec3::PosY), hits1); in TEST()
458 brush.pick(Ray3(Vec3(8.0, -8.0, 8.0), Vec3::NegY), hits2); in TEST()
732Vec3::List newVertexPositions = brush->moveVertices(worldBounds, Vec3::List(1, vertex), Vec3(-16.0… in TEST()
875 const Vec3 d = 4.0 * 16.0 * Vec3::NegY; in TEST()
896 const Vec3 leftTopNormal = Vec3( 2.0, 0.0, 1.0).normalized(); in TEST()
897 const Vec3 rightTopNormal = Vec3(-2.0, 0.0, 1.0).normalized(); in TEST()
898 const Vec3 topLeftNormal = Vec3(-2.0, 0.0, -1.0).normalized(); in TEST()
[all …]
/dports/science/simbody/simbody-Simbody-3.7/examples/
H A DExampleAmysIKProblem.cpp78 MobilizedBody::Free mobod_loadcell1(mobod_ground,Vec3(0), body_loadcell1,Vec3(0)); in main()
84 MobilizedBody::Free mobod_loadcell2(mobod_ground,Vec3(0), body_loadcell2,Vec3(0)); in main()
89 body_pelvis.addDecoration(Vec3(-.1,0,0),DecorativeEllipsoid(Vec3(.1,.06,.15)).setColor(Cyan)); in main()
91 MobilizedBody::Free mobod_pelvis(mobod_ground,Vec3(0), body_pelvis,Vec3(0)); in main()
116 MobilizedBody::Ball mobod_torso(mobod_pelvis,Vec3(-0.0872,0.0331,0), body_torso,Vec3(0)); in main()
133 MobilizedBody::Ball mobod_neckhead(mobod_torso,Vec3(-0.0253,0.44895,0), body_neckhead,Vec3(0)); in main()
233 MobilizedBody::Pin mobod_tibia_r(mobod_femur_r,Vec3(0,-.4,0), body_tibia_r,Vec3(0)); in main()
257 MobilizedBody::Pin mobod_talus_r(mobod_tibia_r,Vec3(0,-0.426,0), body_talus_r,Vec3(0)); in main()
303 MobilizedBody::Pin mobod_tibia_l(mobod_femur_l,Vec3(0,-.4,0), body_tibia_l,Vec3(0)); in main()
327 MobilizedBody::Pin mobod_talus_l(mobod_tibia_l,Vec3(0,-0.426,0), body_talus_l,Vec3(0)); in main()
[all …]
/dports/games/flying/flying-6.20/
H A Dvec3.h136 inline Vec3 operator+(const Vec3&) const;
137 inline Vec3 operator-(const Vec3&) const;
153 inline const Vec3& operator+=(const Vec3&);
154 inline const Vec3& operator-=(const Vec3&);
162 inline const Vec3& Vec3::operator=(const Vec3 &v) {
170 inline Vec3 Vec3::operator+() const
175 inline Vec3 Vec3::operator-() const
183 inline const Vec3& Vec3::operator+=(const Vec3& z2)
192 inline const Vec3& Vec3::operator-=(const Vec3& z2)
222 inline Vec3 Vec3::operator+(const Vec3& z2) const
[all …]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/testing/
H A DUnitTestBounds.cxx20 using Vec3 = vtkm::Vec3f_64; in TestBounds() typedef
52 vtkm::Bounds lowBounds(Vec3(-10, -5, -1), Vec3(-5, -2, 0)); in TestBounds()
55 VTKM_TEST_ASSERT(!lowBounds.Contains(Vec3(-20)), "Contains fail"); in TestBounds()
56 VTKM_TEST_ASSERT(!lowBounds.Contains(Vec3(-2)), "Contains fail"); in TestBounds()
58 VTKM_TEST_ASSERT(!lowBounds.Contains(Vec3(0)), "Contains fail"); in TestBounds()
59 VTKM_TEST_ASSERT(!lowBounds.Contains(Vec3(10)), "Contains fail"); in TestBounds()
66 VTKM_TEST_ASSERT(unionBounds.Contains(Vec3(0)), "Contains fail"); in TestBounds()
76 VTKM_TEST_ASSERT(!highBounds.Contains(Vec3(0)), "Contains fail"); in TestBounds()
91 unionBounds.Include(Vec3(-1)); in TestBounds()
112 unionBounds.Include(Vec3(vtkm::Infinity64())); in TestBounds()
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/testing/
H A DUnitTestBounds.cxx30 using Vec3 = vtkm::Vec<vtkm::Float64, 3>; in TestBounds() typedef
62 vtkm::Bounds lowBounds(Vec3(-10, -5, -1), Vec3(-5, -2, 0)); in TestBounds()
66 VTKM_TEST_ASSERT(!lowBounds.Contains(Vec3(-2)), "Contains fail"); in TestBounds()
68 VTKM_TEST_ASSERT(!lowBounds.Contains(Vec3(0)), "Contains fail"); in TestBounds()
69 VTKM_TEST_ASSERT(!lowBounds.Contains(Vec3(10)), "Contains fail"); in TestBounds()
76 VTKM_TEST_ASSERT(unionBounds.Contains(Vec3(0)), "Contains fail"); in TestBounds()
86 VTKM_TEST_ASSERT(!highBounds.Contains(Vec3(0)), "Contains fail"); in TestBounds()
87 VTKM_TEST_ASSERT(!highBounds.Contains(Vec3(4)), "Contains fail"); in TestBounds()
101 unionBounds.Include(Vec3(-1)); in TestBounds()
122 unionBounds.Include(Vec3(vtkm::Infinity64())); in TestBounds()
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/eye_candy/
H A Deffect_summon.cpp14 ParticleMover* _mover, const Vec3 _pos, const Vec3 _velocity, in OuterSummonParticle()
55 ParticleMover* _mover, const Vec3 _pos, const Vec3 _velocity, in InnerSummonParticle()
211 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(0.3, 0.0, 0.8), Vec3(0.30, 0.0, 0.54), Ve… in SummonEffect()
212 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(1.1, 0.0, 2.2), Vec3(0.21, 0.0, 0.77), Ve… in SummonEffect()
213 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(2.9, 0.0, 2.2), Vec3(0.81, 0.0, 0.71), Ve… in SummonEffect()
223 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(3.3, 0.0, 0.8), Vec3(0.30, 0.0, 0.54), Ve… in SummonEffect()
224 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(3.1, 0.0, 2.2), Vec3(0.21, 0.0, 0.77), Ve… in SummonEffect()
225 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(3.9, 0.0, 2.2), Vec3(0.81, 0.0, 0.71), Ve… in SummonEffect()
235 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(5.3, 0.0, 3.8), Vec3(0.30, 0.0, 0.54), Ve… in SummonEffect()
236 …fs_elements.push_back(new IFSSinusoidalElement(0.5, Vec3(5.1, 0.0, 5.2), Vec3(0.21, 0.0, 0.77), Ve… in SummonEffect()
[all …]
/dports/graphics/embree/embree-3.13.2/common/math/
H A Dvec3.h88 …template<typename T> __forceinline Vec3<T> operator +( const Vec3<T>& a, const Vec3<T>& b ) { retu…
89 …template<typename T> __forceinline Vec3<T> operator -( const Vec3<T>& a, const Vec3<T>& b ) { retu…
90 …template<typename T> __forceinline Vec3<T> operator *( const Vec3<T>& a, const Vec3<T>& b ) { retu…
107 …template<typename T> __forceinline Vec3<T> madd ( const Vec3<T>& a, const Vec3<T>& b, const Vec3<… in madd()
108 …template<typename T> __forceinline Vec3<T> msub ( const Vec3<T>& a, const Vec3<T>& b, const Vec3<… in msub()
109 …template<typename T> __forceinline Vec3<T> nmadd ( const Vec3<T>& a, const Vec3<T>& b, const Vec3<… in nmadd()
110 …template<typename T> __forceinline Vec3<T> nmsub ( const Vec3<T>& a, const Vec3<T>& b, const Vec3<… in nmsub()
165 …template<typename T> __forceinline Vec3<T> select ( const Vec3<bool>& s, const Vec3<T>& t, const V… in select()
174 __forceinline Vec3<T> lerp(const Vec3<T>& v0, const Vec3<T>& v1, const T& t) { in lerp()
211 …template<typename T> __forceinline Vec3<T> stable_triangle_normal( const Vec3<T>& a, const Vec3<T>… in stable_triangle_normal()
[all …]
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/include/
H A Dvec3.h63 inline Vec3(const Vec3 & vec);
72 inline Vec3 & operator+= (const Vec3 & vec);
103 inline Vec3<real>::Vec3(real entry) in Vec3() function
111 inline Vec3<real>::Vec3(const real * vec) in Vec3() function
119 inline Vec3<real>::Vec3(const Vec3<real> & vec) in Vec3() function
127 inline Vec3<real> & Vec3<real>::operator=(const Vec3<real> & source)
167 inline const Vec3<real> Vec3<real>::operator+ (const Vec3<real> & vec) const
178 inline Vec3<real> & Vec3<real>::operator+= (const Vec3<real> & vec)
188 inline const Vec3<real> Vec3<real>::operator- (const Vec3<real> & vec) const
199 inline Vec3<real> & Vec3<real>::operator-= (const Vec3<real> & vec)
[all …]
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/minivector/
H A Dvec3.h63 inline Vec3(const Vec3 & vec);
72 inline Vec3 & operator+= (const Vec3 & vec);
103 inline Vec3<real>::Vec3(real entry) in Vec3() function
111 inline Vec3<real>::Vec3(const real * vec) in Vec3() function
119 inline Vec3<real>::Vec3(const Vec3<real> & vec) in Vec3() function
127 inline Vec3<real> & Vec3<real>::operator=(const Vec3<real> & source)
167 inline const Vec3<real> Vec3<real>::operator+ (const Vec3<real> & vec) const
178 inline Vec3<real> & Vec3<real>::operator+= (const Vec3<real> & vec)
188 inline const Vec3<real> Vec3<real>::operator- (const Vec3<real> & vec) const
199 inline Vec3<real> & Vec3<real>::operator-= (const Vec3<real> & vec)
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/cpp/
H A DpickSurface.cpp40 Vec3 operator - (Vec3 v) in operator -()
45 Vec3 operator + (Vec3 v) in operator +()
65 Vec3 cross(Vec3 v) in cross()
88 Vec3 n = Vec3(x, y, z); in getNormalized()
98 int test_tri(Vec3 V1, Vec3 V2, Vec3 V3, Vec3 Dir, Vec3 P0, Vec3 &ret);
99 void QuadTestAndSaveT(double *bounds, Vec3 P0, Vec3 P1, Vec3 P2, Vec3 P3, Vec3 direction, Vec3 poin…
100 void TriTestAndSaveT(double *bounds, Vec3 P0, Vec3 P1, Vec3 P2, Vec3 direction, Vec3 point, double …
120 Vec3 point = Vec3(x, y, z); in pickSurface()
283 int test_tri(Vec3 V1, Vec3 V2, Vec3 V3, Vec3 Dir, Vec3 P0, double &t) in test_tri()
329 void QuadTestAndSaveT(double *bounds, Vec3 P0, Vec3 P1, Vec3 P2, Vec3 P3, Vec3 direction, Vec3 poin… in QuadTestAndSaveT()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgsharedarray/
H A Dosgsharedarray.cpp48 MyArray(unsigned int no, osg::Vec3* ptr) : in MyArray()
102 const osg::Vec3& elem_lhs = _ptr[lhs]; in compare()
103 const osg::Vec3& elem_rhs = _ptr[rhs]; in compare()
125 return _numElements * sizeof(osg::Vec3); in getTotalDataSize()
133 osg::Vec3* _ptr;
140 const osg::Vec3 myVertices[] = { osg::Vec3(-1.,-1., 1.),
172 const osg::Vec3 myNormals[] = { osg::Vec3( 0., 0., 1.),
173 osg::Vec3( 0., 0., 1.),
174 osg::Vec3( 0., 0., 1.),
175 osg::Vec3( 0., 0., 1.),
[all …]
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgsharedarray/
H A Dosgsharedarray.cpp48 MyArray(unsigned int no, osg::Vec3* ptr) : in MyArray()
102 const osg::Vec3& elem_lhs = _ptr[lhs]; in compare()
103 const osg::Vec3& elem_rhs = _ptr[rhs]; in compare()
129 return _numElements * sizeof(osg::Vec3); in getTotalDataSize()
137 osg::Vec3* _ptr;
144 const osg::Vec3 myVertices[] = { osg::Vec3(-1.,-1., 1.),
176 const osg::Vec3 myNormals[] = { osg::Vec3( 0., 0., 1.),
177 osg::Vec3( 0., 0., 1.),
178 osg::Vec3( 0., 0., 1.),
179 osg::Vec3( 0., 0., 1.),
[all …]
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_04_dxf_high_level_structs/
H A Dtest_414_explode_blockrefs.py229 _check_curve(ellipse, Vec3(1, 0, 0), Vec3(0, 1, 0), Vec3(0, 0, zscale))
232 _check_curve(ellipse, Vec3(0, 1, 0), Vec3(-1, 0, 0), Vec3(0, 0, zscale))
238 _check_curve(ellipse, Vec3(0, -1, 0), Vec3(1, 0, 0), Vec3(0, 0, zscale))
243 _check_curve(ellipse, Vec3(1, 0, 0), Vec3(0, -1, 0), Vec3(0, 0, zscale))
246 _check_curve(ellipse, Vec3(0, 1, 0), Vec3(1, 0, 0), Vec3(0, 0, zscale))
249 _check_curve(ellipse, Vec3(-1, 0, 0), Vec3(0, 1, 0), Vec3(0, 0, zscale))
257 _check_curve(ellipse, Vec3(-1, 0, 0), Vec3(0, 1, 0), Vec3(0, 0, zscale))
263 _check_curve(ellipse, Vec3(1, 0, 0), Vec3(0, -1, 0), Vec3(0, 0, zscale))
266 _check_curve(ellipse, Vec3(0, 1, 0), Vec3(1, 0, 0), Vec3(0, 0, zscale))
274 _check_curve(ellipse, Vec3(0, -1, 0), Vec3(1, 0, 0), Vec3(0, 0, zscale))
[all …]
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslnoise/
H A Doslnoise_test.cpp99 Vec3(0,0,0), Vec3(0.316772,-0.416016,-0.267334), Vec3(0.3125,-0.75,-0.625), in test_perlin()
100 Vec3(0.0604248,-0.489258,-0.487061), Vec3(0,0,0), Vec3(0.211304,0.43103,0.351196), in test_perlin()
101 Vec3(0.5625,0.5625,0.1875), Vec3(0.467651,0.247925,-0.124878), Vec3(0,0,0) in test_perlin()
104 Vec3(0,0,0), Vec3(0.0874839,0.414739,0.0248834), Vec3(0,0.4962,-0.4962), in test_perlin()
105 Vec3(0.219915,0.414739,-0.546962), Vec3(0,0,0), Vec3(-0.32144,-0.290742,0.526898), in test_perlin()
106 Vec3(0.3308,0,0.4962), Vec3(0.567027,0.290742,0.14888), Vec3(0,-0,0) in test_perlin()
109 Vec3(0,0,0), Vec3(-0.298763,-0.18861,0.0753458), Vec3(0.12275,-0.491,0), in test_perlin()
110 Vec3(0.0533643,-0.476305,-0.303479), Vec3(0,0,0), Vec3(-0.106914,0.331779,0.196719), in test_perlin()
111 Vec3(-0.61375,0.36825,0), Vec3(-0.504605,0.0252173,0.29568), Vec3(0,0,0) in test_perlin()
114 Vec3(0,0,0), Vec3(0.261616,-0.0846003,0.353395), Vec3(0.1043,-0.1043,-0.1043), in test_perlin()
[all …]
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslnoise/
H A Doslnoise_test.cpp99 Vec3(0,0,0), Vec3(0.316772,-0.416016,-0.267334), Vec3(0.3125,-0.75,-0.625), in test_perlin()
100 Vec3(0.0604248,-0.489258,-0.487061), Vec3(0,0,0), Vec3(0.211304,0.43103,0.351196), in test_perlin()
101 Vec3(0.5625,0.5625,0.1875), Vec3(0.467651,0.247925,-0.124878), Vec3(0,0,0) in test_perlin()
104 Vec3(0,0,0), Vec3(0.0874839,0.414739,0.0248834), Vec3(0,0.4962,-0.4962), in test_perlin()
105 Vec3(0.219915,0.414739,-0.546962), Vec3(0,0,0), Vec3(-0.32144,-0.290742,0.526898), in test_perlin()
106 Vec3(0.3308,0,0.4962), Vec3(0.567027,0.290742,0.14888), Vec3(0,-0,0) in test_perlin()
109 Vec3(0,0,0), Vec3(-0.298763,-0.18861,0.0753458), Vec3(0.12275,-0.491,0), in test_perlin()
110 Vec3(0.0533643,-0.476305,-0.303479), Vec3(0,0,0), Vec3(-0.106914,0.331779,0.196719), in test_perlin()
111 Vec3(-0.61375,0.36825,0), Vec3(-0.504605,0.0252173,0.29568), Vec3(0,0,0) in test_perlin()
114 Vec3(0,0,0), Vec3(0.261616,-0.0846003,0.353395), Vec3(0.1043,-0.1043,-0.1043), in test_perlin()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bx/include/bx/
H A Dmath.h309 BX_CONSTEXPR_FUNC Vec3 add(const Vec3 _a, const Vec3 _b);
315 BX_CONSTEXPR_FUNC Vec3 sub(const Vec3 _a, const Vec3 _b);
321 BX_CONSTEXPR_FUNC Vec3 mul(const Vec3 _a, const Vec3 _b);
330 BX_CONSTEXPR_FUNC Vec3 mad(const Vec3 _a, const Vec3 _b, const Vec3 _c);
336 BX_CONSTEXPR_FUNC Vec3 cross(const Vec3 _a, const Vec3 _b);
348 BX_CONSTEXPR_FUNC Vec3 lerp(const Vec3 _a, const Vec3 _b, float _t);
351 BX_CONSTEXPR_FUNC Vec3 lerp(const Vec3 _a, const Vec3 _b, const Vec3 _t);
357 BX_CONSTEXPR_FUNC Vec3 min(const Vec3 _a, const Vec3 _b);
360 BX_CONSTEXPR_FUNC Vec3 max(const Vec3 _a, const Vec3 _b);
366 void calcTangentFrame(Vec3& _outT, Vec3& _outB, const Vec3 _n);
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/bx/include/bx/
H A Dmath.h309 BX_CONSTEXPR_FUNC Vec3 add(const Vec3 _a, const Vec3 _b);
315 BX_CONSTEXPR_FUNC Vec3 sub(const Vec3 _a, const Vec3 _b);
321 BX_CONSTEXPR_FUNC Vec3 mul(const Vec3 _a, const Vec3 _b);
330 BX_CONSTEXPR_FUNC Vec3 mad(const Vec3 _a, const Vec3 _b, const Vec3 _c);
336 BX_CONSTEXPR_FUNC Vec3 cross(const Vec3 _a, const Vec3 _b);
348 BX_CONSTEXPR_FUNC Vec3 lerp(const Vec3 _a, const Vec3 _b, float _t);
351 BX_CONSTEXPR_FUNC Vec3 lerp(const Vec3 _a, const Vec3 _b, const Vec3 _t);
357 BX_CONSTEXPR_FUNC Vec3 min(const Vec3 _a, const Vec3 _b);
360 BX_CONSTEXPR_FUNC Vec3 max(const Vec3 _a, const Vec3 _b);
366 void calcTangentFrame(Vec3& _outT, Vec3& _outB, const Vec3 _n);
[all …]
/dports/astro/marble/marble-21.12.3/src/lib/astro/
H A Dastr2lib.h24 void state (Vec3& rs, Vec3& vs); // return last state vector
49 ASTROLIB_EXPORT void MarPhobos (double t, Vec3& rs, Vec3& vs); // State vector of Phobos
50 ASTROLIB_EXPORT void MarDeimos (double t, Vec3& rs, Vec3& vs); // State vector of Deimos
58 ASTROLIB_EXPORT void JupIo (double t, Vec3& rs, Vec3& vs); // state vector of Io
59 ASTROLIB_EXPORT void JupEuropa (double t, Vec3& rs, Vec3& vs); // state vector of Europa
60 ASTROLIB_EXPORT void JupGanymede (double t, Vec3& rs, Vec3& vs); // state vector of Ganymede
61 ASTROLIB_EXPORT void JupCallisto (double t, Vec3& rs, Vec3& vs); // state vector of Callisto
62 ASTROLIB_EXPORT void SatRhea (double t, Vec3& rs, Vec3& vs); // state vector of Rhea
63 ASTROLIB_EXPORT void SatTitan (double t, Vec3& rs, Vec3& vs); // state vector of Titan
64 ASTROLIB_EXPORT void NepTriton (double t, Vec3& rs, Vec3& vs); // state vector of Triton
[all …]
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/
H A DParaxialTexCoordSystem.cpp28 Vec3( 0.0, 0.0, 1.0), Vec3( 1.0, 0.0, 0.0), Vec3( 0.0, -1.0, 0.0),
29 Vec3( 0.0, 0.0, -1.0), Vec3( 1.0, 0.0, 0.0), Vec3( 0.0, -1.0, 0.0),
30 Vec3( 1.0, 0.0, 0.0), Vec3( 0.0, 1.0, 0.0), Vec3( 0.0, 0.0, -1.0),
31 Vec3(-1.0, 0.0, 0.0), Vec3( 0.0, 1.0, 0.0), Vec3( 0.0, 0.0, -1.0),
32 Vec3( 0.0, 1.0, 0.0), Vec3( 1.0, 0.0, 0.0), Vec3( 0.0, 0.0, -1.0),
33 Vec3( 0.0, -1.0, 0.0), Vec3( 1.0, 0.0, 0.0), Vec3( 0.0, 0.0, -1.0),
36 …ParaxialTexCoordSystem::ParaxialTexCoordSystem(const Vec3& point0, const Vec3& point1, const Vec3&… in ParaxialTexCoordSystem()
60 void ParaxialTexCoordSystem::axes(const size_t index, Vec3& xAxis, Vec3& yAxis) { in axes()
61 Vec3 temp; in axes()
65 … void ParaxialTexCoordSystem::axes(size_t index, Vec3& xAxis, Vec3& yAxis, Vec3& projectionAxis) { in axes()
[all …]
/dports/graphics/vapoursynth-fmtconv/fmtconv-r28/src/fmtcl/
H A DVec3.h39 class Vec3
52 constexpr Vec3 (const Vec3 &other) = default;
53 Vec3 (Vec3 &&other) = default;
60 Vec3 & operator = (const Vec3 &other) = default;
61 Vec3 & operator = (Vec3 &&other) = default;
66 inline Vec3 & operator += (const Vec3 &other);
67 inline Vec3 & operator -= (const Vec3 &other);
68 inline Vec3 & operator *= (double scalar);
94 inline Vec3 operator + (const Vec3 &lhs, const Vec3 &rhs);
95 inline Vec3 operator - (const Vec3 &lhs, const Vec3 &rhs);
[all …]
/dports/misc/openmvg/openMVG-2.0/src/openMVG/multiview/
H A Dtriangulation.hpp33 const Vec3 &t0,
36 const Vec3 &t1,
38 Vec3 &X,
55 const Vec3 &x1,
57 const Vec3 &x2,
74 const Vec3 &x1,
76 const Vec3 &x2,
96 const Vec3 &t0,
97 const Vec3 &x0,
99 const Vec3 &t1,
[all …]

12345678910>>...127