/dports/games/vavoom/vavoom-1.33/utils/glvis/ |
H A D | vector.h | 26 class TVec 32 TVec() { } in TVec() function 56 TVec &operator += (const TVec &v) 63 TVec &operator -= (const TVec &v) 100 inline TVec operator + (const TVec &v1, const TVec &v2) 105 inline TVec operator - (const TVec &v1, const TVec &v2) 110 inline TVec operator * (const TVec& v, double s) 115 inline TVec operator * (double s, const TVec& v) 120 inline TVec operator / (const TVec& v, double s) 140 inline TVec Normalise(const TVec& v) in Normalise() [all …]
|
/dports/games/vavoom/vavoom-1.33/libs/core/ |
H A D | vector.h | 32 class TVec 65 TVec &operator += (const TVec &v) 73 TVec &operator -= (const TVec &v) 113 inline TVec operator + (const TVec &v1, const TVec &v2) 118 inline TVec operator - (const TVec &v1, const TVec &v2) 123 inline TVec operator * (const TVec& v, float s) 128 inline TVec operator * (float s, const TVec& v) 133 inline TVec operator / (const TVec& v, float s) 153 inline TVec Normalise(const TVec& v) in Normalise() 158 inline float DotProduct(const TVec& v1, const TVec& v2) in DotProduct() [all …]
|
/dports/games/vavoom/vavoom-1.33/source/ |
H A D | drawer.h | 43 TVec org; // position 48 TVec vel; // velocity 49 TVec accel; // acceleration 157 const TVec&, const TVec&, const TVec&) = 0; 158 virtual void DrawAliasModel(const TVec&, const TAVec&, const TVec&, 198 virtual void DrawAliasModelAmbient(const TVec&, const TAVec&, const TVec&, 200 virtual void DrawAliasModelTextures(const TVec&, const TAVec&, const TVec&, 204 virtual void DrawAliasModelLight(const TVec&, const TAVec&, const TVec&, 207 virtual void DrawAliasModelShadow(const TVec&, const TAVec&, const TVec&, 208 const TVec&, VMeshModel*, int, int, float, bool, const TVec&, float) = 0; [all …]
|
H A D | d3d_local.h | 161 int, vuint32, vuint32, const TVec&, float, const TVec&, const TVec&, 162 const TVec&); 163 void DrawAliasModel(const TVec&, const TAVec&, const TVec&, const TVec&, 198 void BeginLightPass(TVec&, float, vuint32); 203 void DrawAliasModelAmbient(const TVec&, const TAVec&, const TVec&, 205 void DrawAliasModelTextures(const TVec&, const TAVec&, const TVec&, 209 void DrawAliasModelLight(const TVec&, const TAVec&, const TVec&, 211 void BeginModelsShadowsPass(TVec&, float); 212 void DrawAliasModelShadow(const TVec&, const TAVec&, const TVec&, 213 const TVec&, VMeshModel*, int, int, float, bool, const TVec&, float); [all …]
|
H A D | maths.h | 94 void AngleVectors(const TAVec &angles, TVec &forward, TVec &right, TVec &up); 97 void VectorsAngles(const TVec &forward, const TVec &right, const TVec &up, 99 TVec RotateVectorAroundVector(const TVec&, const TVec&, float); 153 TVec normal; 186 void Set(const TVec &Anormal, float Adist) in Set() 194 void SetPointDir(const TVec &point, const TVec &dir) in SetPointDir() 196 normal = Normalise(TVec(dir.y, -dir.x, 0)); in SetPointDir() 202 void Set2Points(const TVec &v1, const TVec &v2) in Set2Points() 214 float GetPointZ(const TVec &v) const in GetPointZ() 220 int PointOnSide(const TVec& point) const in PointOnSide() [all …]
|
H A D | r_sky.cpp | 236 s.texinfo.taxis = TVec(0, 0, -tk); in InitOldSky() 366 sky[0].plane.Set(TVec(-1, 0, 0), -128); in InitSkyBox() 367 sky[0].texinfo.saxis = TVec(0, -1.0, 0); in InitSkyBox() 372 sky[1].plane.Set(TVec(0, 1, 0), -128); in InitSkyBox() 378 sky[2].plane.Set(TVec(1, 0, 0), -128); in InitSkyBox() 379 sky[2].texinfo.saxis = TVec(0, 1.0, 0); in InitSkyBox() 384 sky[3].plane.Set(TVec(0, -1, 0), -128); in InitSkyBox() 385 sky[3].texinfo.saxis = TVec(1.0, 0, 0); in InitSkyBox() 390 sky[4].plane.Set(TVec(0, 0, -1), -128); in InitSkyBox() 392 sky[4].texinfo.taxis = TVec(1.0, 0, 0); in InitSkyBox() [all …]
|
H A D | r_local.h | 266 TVec Verts[4]; 273 TVec normal; 279 TVec saxis; 280 TVec taxis; 281 TVec texorg; 299 TVec origin; 449 bool, vuint32, vuint32, const TVec&, float, const TVec&, const TVec&, 450 const TVec&); 494 surface_t* SubdivideSeg(surface_t*, const TVec&, const TVec*); 501 float CastRay(const TVec&, const TVec&, float); [all …]
|
H A D | maths.cpp | 39 VRotMatrix(const TVec& Axis, float Angle) in VRotMatrix() 58 friend TVec operator * (const TVec& v, const VRotMatrix& m) in operator *() 60 return TVec( in operator *() 168 void AngleVectors(const TAVec &angles, TVec &forward, TVec &right, TVec &up) in AngleVectors() 201 void AngleVector(const TAVec &angles, TVec &forward) in AngleVector() 221 void VectorAngles(const TVec& vec, TAVec& angles) in VectorAngles() 242 void VectorsAngles(const TVec& forward, const TVec& right, const TVec& up, in VectorsAngles() 274 void ProjectPointOnPlane(TVec &dst, const TVec &p, const TVec &normal) in ProjectPointOnPlane() 294 void PerpendicularVector(TVec &dst, const TVec &src) in PerpendicularVector() 299 TVec tempvec; in PerpendicularVector() [all …]
|
H A D | snd_allegro.cpp | 56 int PlaySound3D(int, const TVec&, const TVec&, float, float, bool); 58 void UpdateChannel3D(int, const TVec&, const TVec&); 61 void UpdateListener(const TVec&, const TVec&, const TVec&, const TVec&, 62 const TVec&, VReverbInfo*); 273 int VAllegroSoundDevice::PlaySound3D(int, const TVec&, const TVec&, float, in PlaySound3D() argument 303 void VAllegroSoundDevice::UpdateChannel3D(int, const TVec&, const TVec&) in UpdateChannel3D() argument 355 void VAllegroSoundDevice::UpdateListener(const TVec&, const TVec&, in UpdateListener() argument 356 const TVec&, const TVec&, const TVec&, VReverbInfo*) in UpdateListener()
|
H A D | r_shared.h | 66 TVec enter; 67 TVec exit; 74 TVec saxis; 76 TVec taxis; 103 TVec verts[1]; 153 TVec* Verts; 154 TVec* Normals; 185 TArray<TVec> AllVerts; 205 extern TVec vieworg; 207 extern TVec viewright; [all …]
|
H A D | snd_sdl.cpp | 59 int PlaySound3D(int, const TVec&, const TVec&, float, float, bool); 61 void UpdateChannel3D(int, const TVec&, const TVec&); 64 void UpdateListener(const TVec&, const TVec&, const TVec&, const TVec&, 65 const TVec&, VReverbInfo*); 363 int VSDLSoundDevice::PlaySound3D(int, const TVec&, const TVec&, float, in PlaySound3D() argument 393 void VSDLSoundDevice::UpdateChannel3D(int, const TVec&, const TVec&) in UpdateChannel3D() argument 441 void VSDLSoundDevice::UpdateListener(const TVec&, const TVec&, const TVec&, in UpdateListener() argument 442 const TVec&, const TVec&, VReverbInfo*) in UpdateListener()
|
H A D | r_things.cpp | 95 const TVec& saxis, const TVec& taxis, const TVec& texorg) in DrawTranslucentPoly() 100 TVec mid(0, 0, 0); in DrawTranslucentPoly() 208 TVec sprforward; in RenderSprite() 209 TVec sprright; in RenderSprite() 210 TVec sprup; in RenderSprite() 213 TVec tvec; in RenderSprite() 389 TVec sv[4]; in RenderSprite() 752 TVec dv[4]; in RenderPSprite() 780 TVec saxis; in RenderPSprite() 781 TVec taxis; in RenderPSprite() [all …]
|
H A D | gl_model.cpp | 55 const TVec& Offset, const TVec& Scale, VMatrix4& RotationMatrix) in AliasSetUpTransform() 145 sizeof(TVec) * Mdl->AllVerts.Num(), sizeof(TVec) * Mdl->AllNormals.Num(), in UploadModel() 154 sizeof(TVec) * Mdl->AllVerts.Num() + in UploadModel() 197 const TVec& Offset, const TVec& Scale, VMeshModel* Mdl, int frame, int nextframe, in DrawAliasModel() 237 TVec scale_origin; in DrawAliasModel() 252 TVec scale; in DrawAliasModel() 443 const TVec& Offset, const TVec& Scale, VMeshModel* Mdl, int frame, int nextframe, in DrawAliasModelAmbient() 492 const TVec& Offset, const TVec& Scale, VMeshModel* Mdl, int frame, int nextframe, in DrawAliasModelTextures() 558 const TVec& Offset, const TVec& Scale, VMeshModel* Mdl, int frame, int nextframe, in DrawAliasModelLight() 636 const TVec& Offset, const TVec& Scale, VMeshModel* Mdl, int frame, int nextframe, in DrawAliasModelShadow() [all …]
|
H A D | p_clip.h | 34 TVec Origin; 45 void ClearClipNodes(const TVec&, VLevel*); 46 void ClipInitFrustrumRange(const TAVec&, const TVec&, const TVec&, 47 const TVec&, float, float); 52 float PointToClipAngle(const TVec&);
|
H A D | p_clip.cpp | 78 ClearClipNodes(TVec(), NULL); in ~VViewClipper() 170 const TVec& viewforward, const TVec& viewright, const TVec& viewup, in ClipInitFrustrumRange() 182 TVec Pts[4]; in ClipInitFrustrumRange() 183 TVec TransPts[4]; in ClipInitFrustrumRange() 188 TVec clipforward = Normalise(TVec(viewforward.x, viewforward.y, 0.0)); in ClipInitFrustrumRange() 471 TVec v1; in ClipIsBBoxVisible() 472 TVec v2; in ClipIsBBoxVisible() 601 TVec v1 = *line->v1; in ClipAddSubsectorSegs() 602 TVec v2 = *line->v2; in ClipAddSubsectorSegs() 644 TVec v1 = *line->v1; in ClipAddSubsectorSegs() [all …]
|
H A D | gl_local.h | 374 void BeginLightPass(TVec&, float, vuint32); 383 int, vuint32, vuint32, const TVec&, float, const TVec&, const TVec&, 384 const TVec&); 385 void DrawAliasModel(const TVec&, const TAVec&, const TVec&, const TVec&, 388 void DrawAliasModelAmbient(const TVec&, const TAVec&, const TVec&, 390 void DrawAliasModelTextures(const TVec&, const TAVec&, const TVec&, const TVec&, 393 void DrawAliasModelLight(const TVec&, const TAVec&, const TVec&, 395 void BeginModelsShadowsPass(TVec&, float); 396 void DrawAliasModelShadow(const TVec&, const TAVec&, const TVec&, 397 const TVec&, VMeshModel*, int, int, float, bool, const TVec&, float); [all …]
|
H A D | snd_al.cpp | 80 int PlaySound3D(int, const TVec&, const TVec&, float, float, bool); 82 void UpdateChannel3D(int, const TVec&, const TVec&); 85 void UpdateListener(const TVec&, const TVec&, const TVec&, const TVec&, 86 const TVec&, VReverbInfo*); 354 int VOpenALDevice::PlaySound3D(int sound_id, const TVec &origin, in PlaySound3D() 355 const TVec &velocity, float volume, float pitch, bool Loop) in PlaySound3D() 404 void VOpenALDevice::UpdateChannel3D(int Handle, const TVec& Org, in UpdateChannel3D() 405 const TVec& Vel) in UpdateChannel3D() 465 void VOpenALDevice::UpdateListener(const TVec& org, const TVec& vel, in UpdateListener() argument 466 const TVec& fwd, const TVec&, const TVec& up, VReverbInfo* Env) in UpdateListener()
|
H A D | d3d_main.cpp | 908 void VDirect3DDrawer::BeginLightPass(TVec&, float, vuint32) {} in BeginLightPass() argument 913 void VDirect3DDrawer::DrawAliasModelAmbient(const TVec&, const TAVec&, const TVec&, in DrawAliasModelAmbient() argument 914 const TVec&, VMeshModel*, int, int, VTexture*, vuint32, float, bool) {} in DrawAliasModelAmbient() 915 void VDirect3DDrawer::DrawAliasModelTextures(const TVec&, const TAVec&, const TVec&, in DrawAliasModelTextures() argument 918 void VDirect3DDrawer::BeginModelsLightPass(TVec&, float, vuint32) {} in BeginModelsLightPass() argument 919 void VDirect3DDrawer::DrawAliasModelLight(const TVec&, const TAVec&, const TVec&, in DrawAliasModelLight() argument 920 const TVec&, VMeshModel*, int, int, VTexture*, float, bool) {} in DrawAliasModelLight() 921 void VDirect3DDrawer::BeginModelsShadowsPass(TVec&, float) {} in BeginModelsShadowsPass() argument 922 void VDirect3DDrawer::DrawAliasModelShadow(const TVec&, const TAVec&, const TVec&, in DrawAliasModelShadow() argument 923 const TVec&, VMeshModel*, int, int, float, bool, const TVec&, float) {} in DrawAliasModelShadow() [all …]
|
H A D | p_entity.h | 143 TVec Origin; 146 TVec Velocity; 438 bool eventMoveThing(TVec Pos, bool Fog) in eventMoveThing() 490 void eventCalcFakeZMovement(TVec& Ret, float DeltaTime) in eventCalcFakeZMovement() 540 bool CheckPosition(TVec); 541 bool CheckRelPosition(tmtrace_t&, TVec); 542 bool TryMove(tmtrace_t&, TVec, bool); 543 VEntity* TestMobjZ(const TVec&); 547 TVec FakeZMovement(); 549 bool CheckSides(TVec); [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/AFQMC/Wavefunctions/ |
H A D | NOMSD.hpp | 323 template<class WlkSet, class Mat, class TVec> 366 TVec&& Ov, in DensityMatrix() 383 TVec&& Ov, in DensityMatrix() 440 template<class WlkSet, class TVec> 441 void Overlap(const WlkSet& wset, TVec&& Ov) in Overlap() 626 TVec&& Ov, 636 TVec&& Ov, 645 TVec&& Ov, 654 TVec&& Ov, 675 template<class WlkSet, class TVec> [all …]
|
/dports/math/faiss/faiss-1.7.1/faiss/gpu/impl/ |
H A D | L2Norm.cu | 36 typename TVec, 42 Tensor<TVec, 2, true, IndexType> input, in l2NormRowMajor() argument 64 TVec val = input[rowStart + row][col]; in l2NormRowMajor() 65 val = Math<TVec>::mul(val, val); in l2NormRowMajor() 70 val = Math<TVec>::mul(val, val); in l2NormRowMajor() 71 rowNorm[0] = Math<TVec>::reduceAdd(val); in l2NormRowMajor() 86 TVec tmp[RowTileSize]; in l2NormRowMajor() 112 TVec tmp[RowTileSize]; in l2NormRowMajor() 211 template <typename T, typename TVec, typename IndexType> 267 if (input.template canCastResize<TVec>()) { in runL2Norm() [all …]
|
/dports/graphics/blender/blender-2.91.0/intern/libmv/libmv/numeric/ |
H A D | numeric.h | 192 template<typename TVec> 197 template<typename TVec> 202 template<typename TVec> 207 template<typename TVec> 208 inline double DistanceL1(const TVec &x, const TVec &y) { in DistanceL1() 212 template<typename TVec> 213 inline double DistanceL2(const TVec &x, const TVec &y) { in DistanceL2() 216 template<typename TVec> 217 inline double DistanceLInfinity(const TVec &x, const TVec &y) { in DistanceLInfinity() 223 template<typename TVec> [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/sfm/src/libmv_light/libmv/numeric/ |
H A D | numeric.h | 191 template<typename TVec> 196 template<typename TVec> 201 template<typename TVec> 206 template<typename TVec> 207 inline double DistanceL1(const TVec &x, const TVec &y) { in DistanceL1() 211 template<typename TVec> 212 inline double DistanceL2(const TVec &x, const TVec &y) { in DistanceL2() 215 template<typename TVec> 216 inline double DistanceLInfinity(const TVec &x, const TVec &y) { in DistanceLInfinity() 222 template<typename TVec> [all …]
|
/dports/biology/seqan-apps/seqan-seqan-v2.4.0/include/seqan/parallel/ |
H A D | parallel_tags.h | 154 template <typename TPar, typename TVec> 155 struct IsVectorized<ExecutionPolicy<TPar, TVec> > : 156 public IsVectorized<TVec> 182 template <typename TPar, typename TVec> 183 struct IsParallel<ExecutionPolicy<TPar, TVec> > : 205 template <typename TPar, typename TVec> 206 struct IsExecutionPolicy<ExecutionPolicy<TPar, TVec> > : True
|
/dports/biology/seqan/seqan-library-2.4.0/include/seqan/parallel/ |
H A D | parallel_tags.h | 154 template <typename TPar, typename TVec> 155 struct IsVectorized<ExecutionPolicy<TPar, TVec> > : 156 public IsVectorized<TVec> 182 template <typename TPar, typename TVec> 183 struct IsParallel<ExecutionPolicy<TPar, TVec> > : 205 template <typename TPar, typename TVec> 206 struct IsExecutionPolicy<ExecutionPolicy<TPar, TVec> > : True
|