Home
last modified time | relevance | path

Searched refs:newZ (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/dports/games/ksirk/ksirk-21.12.3/ksirk/
H A DfightArena.cpp123 m_countryAttack->anchorPoint(QPointF((width/4)/newZ,(height/2)/newZ)); in initFightArena()
124 m_countryAttack->centralPoint(QPointF((width/4)/newZ,(height/2)/newZ)); in initFightArena()
125 m_countryAttack->pointFlag(QPointF((width/7)/newZ,(height/7)/newZ)); in initFightArena()
126 m_countryAttack->pointCannon(QPointF((2*width/18)/newZ,(height/2)/newZ)); in initFightArena()
127 m_countryAttack->pointCavalry(QPointF((4*width/18)/newZ,(2*height/5)/newZ)); in initFightArena()
128 m_countryAttack->pointInfantry(QPointF((6*width/18)/newZ,(3*height/5)/newZ)); in initFightArena()
130 m_countryDefense->anchorPoint(QPointF((3*width/4)/newZ,(height/2)/newZ)); in initFightArena()
131 m_countryDefense->centralPoint(QPointF((3*width/4)/newZ,(height/2)/newZ)); in initFightArena()
132 m_countryDefense->pointFlag(QPointF((6*width/7)/newZ,(height/7)/newZ)); in initFightArena()
133 m_countryDefense->pointCannon(QPointF((16*width/18)/newZ,(height/2)/newZ)); in initFightArena()
[all …]
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/definition/
H A Dfractal_scator_power2_std_r.cpp40 CVector4 newZ = z; in FormulaCode() local
43 newZ.x = zz.x - zz.y - zz.z; in FormulaCode()
44 newZ.y = z.x * z.y; in FormulaCode()
45 newZ.z = z.x * z.z; in FormulaCode()
48 newZ.y *= (1.0 - zz.z / zz.x); in FormulaCode()
49 newZ.z *= (1.0 - zz.y / zz.x); in FormulaCode()
53 newZ.x = zz.x + zz.y + zz.z; in FormulaCode()
54 newZ.y = z.x * z.y; in FormulaCode()
55 newZ.z = z.x * z.z; in FormulaCode()
58 newZ.y *= (1.0 + zz.z / zz.x); in FormulaCode()
[all …]
H A Dfractal_scator_power2.cpp51 CVector4 newZ = z; in FormulaCode() local
55 newZ.x = zz.x + zz.y + zz.z; in FormulaCode()
56 newZ.y = z.x * z.y; in FormulaCode()
57 newZ.z = z.x * z.z; in FormulaCode()
61 newZ.y *= (1.0 + zz.z / zz.x); in FormulaCode()
62 newZ.z *= (1.0 + zz.y / zz.x); in FormulaCode()
67 newZ.x = zz.x - zz.y - zz.z; in FormulaCode()
68 newZ.y = z.x * z.y; in FormulaCode()
69 newZ.z = z.x * z.z; in FormulaCode()
73 newZ.y *= (1.0 - zz.z / zz.x); in FormulaCode()
[all …]
H A Dfractal_ides2.cpp33 CVector4 newZ; in FormulaCode() local
34 newZ.x = fractal->transformCommon.constantMultiplier121.x * z2.x in FormulaCode()
36 newZ.y = fractal->transformCommon.constantMultiplier121.y * z.x * z.y * z.z; in FormulaCode()
37 newZ.z = fractal->transformCommon.constantMultiplier121.z * z2.z in FormulaCode()
39 newZ.w = z.w; in FormulaCode()
40 z = newZ + z; in FormulaCode()
H A Dfractal_ides.cpp36 CVector4 newZ; in FormulaCode() local
37 newZ.x = fractal->transformCommon.constantMultiplier121.x * z2.x in FormulaCode()
39 newZ.y = fractal->transformCommon.constantMultiplier121.y * z.x * z.y * z.z; in FormulaCode()
40 newZ.z = fractal->transformCommon.constantMultiplier121.z * z2.z in FormulaCode()
42 newZ.w = z.w; in FormulaCode()
43 z = newZ; in FormulaCode()
H A Dfractal_transf_hybrid_color2.cpp64 double newZ = aux.r; in FormulaCode() local
65 if (fractal->transformCommon.functionEnabledAzFalse) lastVec = newZ / lastZ; in FormulaCode()
66 if (fractal->transformCommon.functionEnabledByFalse) lastVec = lastZ / newZ; in FormulaCode()
67 if (fractal->transformCommon.functionEnabledBzFalse) lastVec = fabs(lastZ - newZ); in FormulaCode()
H A Dfractal_benesi_pwr2_mandelbulb.cpp95 CVector4 newZ = z; in FormulaCode() local
97 newZ.x = -sign(c.x) * temp; in FormulaCode()
98 if (z.x < lenYZ) newZ.x = temp; in FormulaCode()
100 newZ.y = rrYZ * (zz.y - zz.z); in FormulaCode()
101 newZ.z = rrYZ * 2.0 * z.y * z.z; in FormulaCode()
102 z = newZ + (c * fractal->transformCommon.constantMultiplierA100); in FormulaCode()
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/opencl/
H A Dscator_power2_std_r.cl29 REAL4 newZ = z;
32 newZ.x = zz.x - zz.y - zz.z;
33 newZ.y = z.x * z.y;
34 newZ.z = z.x * z.z;
36 newZ.x += (zz.y * zz.z) / zz.x;
37 newZ.y *= (1.0f - zz.z / zz.x);
38 newZ.z *= (1.0f - zz.y / zz.x);
42 newZ.x = zz.x + zz.y + zz.z;
43 newZ.y = z.x * z.y;
44 newZ.z = z.x * z.z;
[all …]
H A Dscator_power2.cl40 REAL4 newZ = z;
44 newZ.x = zz.x + zz.y + zz.z;
45 newZ.y = z.x * z.y;
46 newZ.z = z.x * z.z;
48 // temp1 = length(newZ);
56 newZ.x = zz.x - zz.y - zz.z;
57 newZ.y = z.x * z.y;
58 newZ.z = z.x * z.z;
60 // temp1 = length(newZ);
66 z = newZ;
[all …]
H A Dides2.cl22 REAL4 newZ;
23 newZ.x = fractal->transformCommon.constantMultiplier121.x * z2.x
25 newZ.y = fractal->transformCommon.constantMultiplier121.y * z.x * z.y * z.z;
26 newZ.z = fractal->transformCommon.constantMultiplier121.z * z2.z
28 newZ.w = z.w;
29 z = newZ + z;
H A Dides.cl25 REAL4 newZ;
26 newZ.x = fractal->transformCommon.constantMultiplier121.x * z2.x
28 newZ.y = fractal->transformCommon.constantMultiplier121.y * z.x * z.y * z.z;
29 newZ.z = fractal->transformCommon.constantMultiplier121.z * z2.z
31 newZ.w = z.w;
32 z = newZ;
/dports/astro/xplanet/xplanet-1.3.1/src/
H A DView.cpp78 double &newX, double &newY, double &newZ) const in RotateToXYZ()
84 newZ = dot(inv_rotate[2], P) - translate[2]; in RotateToXYZ()
90 double &newX, double &newY, double &newZ) const in RotateToViewCoordinates()
98 newZ = dot(rotate[2], P); in RotateToViewCoordinates()
109 double &newX, double &newY, double &newZ) const in XYZToPixel()
111 RotateToViewCoordinates(X, Y, Z, newX, newY, newZ); in XYZToPixel()
113 newX *= -(distToPlane_/(newZ*distPerPixel_)); in XYZToPixel()
114 newY *= -(distToPlane_/(newZ*distPerPixel_)); in XYZToPixel()
120 double &newX, double &newY, double &newZ) const in PixelToViewCoordinates()
124 newZ = distToPlane_; in PixelToViewCoordinates()
H A DView.h19 double &newX, double &newY, double &newZ) const;
25 double &newZ) const;
30 double &newX, double &newY, double &newZ) const;
33 double &newX, double &newY, double &newZ) const;
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/
H A DEntityRotationPolicy.cpp98 Vec3 newX, newY, newZ; in applyRotation() local
114 newZ = invYaw * transformation * rotation * Vec3::PosZ; in applyRotation()
116 if (std::abs(newX.y()) < std::abs(newZ.y())) { in applyRotation()
120 newZ = Vec3(newZ.x(), 0.0, newZ.z()).normalized(); in applyRotation()
121 pitch = angleBetween(newZ, Vec3::PosZ, Vec3::PosY); in applyRotation()
127 newZ = invPitch * invYaw * transformation * rotation * Vec3::PosZ; in applyRotation()
133 newZ = Vec3(0.0, newZ.y(), newZ.z()).normalized(); in applyRotation()
134 roll = angleBetween(newZ, Vec3::PosZ, Vec3::PosX); in applyRotation()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/distrib/shaders/decorate_shadow/sm/
H A Ddepth.vert16 vec3 newZ = normalize(lightPosition .xyz);
17 vec3 newX = normalize(cross(newZ, vec3(0.0, 0.80001, 0.0)));
18 vec3 newY = normalize(cross(newX, newZ));
22 newX.x, newY.x, newZ.x, 0.0,
23 newX.y, newY.y, newZ.y, 0.0,
24 newX.z, newY.z, newZ.z, 0.0,
/dports/graphics/proj/proj-7.2.1/test/unit/
H A Dtest_defmodel.cpp825 double newZ; in TEST() local
838 EXPECT_EQ(newZ, zVal); in TEST()
861 EXPECT_EQ(newZ, zVal); in TEST()
920 EXPECT_EQ(newZ, zVal); in TEST()
931 EXPECT_EQ(newZ, zVal); in TEST()
942 EXPECT_EQ(newZ, zVal); in TEST()
953 EXPECT_EQ(newZ, zVal); in TEST()
1266 double newZ; in TEST() local
1336 double newZ; in TEST() local
1363 double newZ; in TEST() local
[all …]
/dports/cad/gds3d/GDS3D-bcdb97a/math/
H A DVECTOR3D.h29 VECTOR3D(float newX, float newY, float newZ);
39 void Set(float newX, float newY, float newZ);
44 void SetZ(float newZ) {z = newZ;} in SetZ() argument
161 inline VECTOR3D::VECTOR3D(float newX, float newY, float newZ){ in VECTOR3D() argument
164 z=newZ; in VECTOR3D()
167 inline void VECTOR3D::Set(float newX, float newY, float newZ){ in Set() argument
170 z=newZ; in Set()
H A DVECTOR4D.h26 VECTOR4D(double newX, double newY, double newZ, double newW) in VECTOR4D() argument
27 : x(newX), y(newY), z(newZ), w(newW) in VECTOR4D()
42 void Set(double newX, double newY, double newZ, double newW) in Set() argument
43 { x=newX; y=newY; z=newZ; w=newW; } in Set()
48 void SetZ(double newZ) {z = newZ;} in SetZ() argument
/dports/science/clhep/2.4.1.0/CLHEP/Vector/src/
H A DRotation.cc107 const Hep3Vector &newZ) { in rotateAxes() argument
111 if (std::abs(newZ.x()-w.x()) > del || in rotateAxes()
112 std::abs(newZ.y()-w.y()) > del || in rotateAxes()
113 std::abs(newZ.z()-w.z()) > del || in rotateAxes()
116 std::abs(newZ.mag2()-1.) > del || in rotateAxes()
118 std::abs(newY.dot(newZ)) > del || in rotateAxes()
119 std::abs(newZ.dot(newX)) > del) { in rotateAxes()
123 return transform(HepRotation(newX.x(), newY.x(), newZ.x(), in rotateAxes()
124 newX.y(), newY.y(), newZ.y(), in rotateAxes()
125 newX.z(), newY.z(), newZ.z())); in rotateAxes()
/dports/science/jdftx/jdftx-1.6.0/jdftx/fluid/
H A DEuler.h45 inline void getEulerAxis(const vector3<>& newZ, vector3<>& euler) in getEulerAxis() argument
46 { euler[1] = acos(newZ[2]/newZ.length()); in getEulerAxis()
51 { euler[0] = atan2(newZ[1], newZ[0]); in getEulerAxis()
/dports/science/jdftx/jdftx-1.6.0/fluid1D/fluid/
H A DEuler.h45 inline void getEulerAxis(const vector3<>& newZ, vector3<>& euler) in getEulerAxis() argument
46 { euler[1] = acos(newZ[2]/newZ.length()); in getEulerAxis()
51 { euler[0] = atan2(newZ[1], newZ[0]); in getEulerAxis()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DTileElementBase.cpp91 void TileElementBase::SetBaseZ(int32_t newZ) in SetBaseZ() argument
93 base_height = (newZ / COORDS_Z_STEP); in SetBaseZ()
101 void TileElementBase::SetClearanceZ(int32_t newZ) in SetClearanceZ() argument
103 clearance_height = (newZ / COORDS_Z_STEP); in SetClearanceZ()
/dports/math/R-cran-prodlim/prodlim/src/
H A DGMLE.c20 double newZ,nom, denom, diff; in GMLE() local
29 newZ=0; in GMLE()
38 newZ += nom/denom; in GMLE()
40 z[k]=newZ/(*N); in GMLE()
/dports/graphics/xmedcon/xmedcon-0.17.0/source/
H A Dm-rslice.c307 Uint32 newX, newY, newZ, curX=0, curY=0, curZ=0, f, frames; in MdcResliceImages() local
411 for (f=0; f<frames; f++) for (newZ=0; newZ<new->dim[Z]; newZ++) { in MdcResliceImages()
412 newid = &new->image[newZ + (f * new->dim[Z])]; in MdcResliceImages()
429 MdcFillImgPos(new,newZ,newZ,0.); in MdcResliceImages()
430 MdcFillImgOrient(new,newZ); in MdcResliceImages()
438 else if (OX == Z) curX = newZ; in MdcResliceImages()
442 else if (OY == Z) curY = newZ; in MdcResliceImages()
446 else if (OZ == Z) curZ = newZ; in MdcResliceImages()
/dports/science/plumed/plumed2-2.7.2/src/dimred/
H A DSMACOF.cpp49 Matrix<double> temp( M, M ), BZ( M, M ), newZ( M, InitialZ.ncols() ); in run() local
69 mult( mypseudo, BZ, temp); mult(temp, InitialZ, newZ); in run()
71 double newsig = calculateSigma( Weights, Distances, newZ, dists ) / totalWeight; in run()
76 InitialZ = newZ; in run()

12345678910>>...14