Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 23 of 23) sorted by relevance

/CTR-SDK-2.4.0/sources/libraries/math/
Dmath_Transform.cpp42 NN_MATH_REPORT("Scale <%f, %f>\n", scale.x, scale.y); in Report()
65 NN_MATH_REPORT("Scale <%f, %f, %f>\n", scale.x, scale.y, scale.z); in Report()
/CTR-SDK-2.4.0/include/nn/math/inline/
Dmath_Quaternion.ipp135 QUATScale(QUAT* pOut, const QUAT* q, f32 scale)
140 pOut->x = q->x * scale;
141 pOut->y = q->y * scale;
142 pOut->z = q->z * scale;
143 pOut->w = q->w * scale;
162 f32 theta, scale;
171 scale = 1.0F;
175 scale = (f32)::std::sinf(theta) / theta;
178 pOut->x = scale * q->x;
179 pOut->y = scale * q->y;
[all …]
Dmath_Vector4.ipp122 VEC4Scale(VEC4* pOut, const VEC4* p, f32 scale)
124 pOut->x = scale * p->x;
125 pOut->y = scale * p->y;
126 pOut->z = scale * p->z;
127 pOut->w = scale * p->w;
/CTR-SDK-2.4.0/sources/libraries/gr/CTR/
Dgr_Combiner.cpp81 rgb.scale, in MakeCommand()
82 alpha.scale ); in MakeCommand()
98 rgb.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupPrimary()
108 alpha.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupPrimary()
123 rgb.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupFragmentPrimary()
133 alpha.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupFragmentPrimary()
146 rgb.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupTexture0()
156 alpha.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupTexture0()
171 rgb.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupPrevious()
181 alpha.scale = PICA_DATA_TEX_ENV_SCALE_1; in SetupPrevious()
[all …]
Dgr_FragmentLight.cpp157 lutConfigD0.scale, in MakeLutConfigCommand()
158 lutConfigD1.scale, in MakeLutConfigCommand()
159 lutConfigSP.scale, in MakeLutConfigCommand()
160 lutConfigFR.scale, in MakeLutConfigCommand()
161 lutConfigRB.scale, in MakeLutConfigCommand()
162 lutConfigRG.scale, in MakeLutConfigCommand()
163 lutConfigRR.scale ); in MakeLutConfigCommand()
369 scale( PICA_DATA_FRAG_LIGHT_ENV_LUTSCALE_1_0 ) in LutConfig()
/CTR-SDK-2.4.0/include/nn/math/
Dmath_Transform.h32 VEC2 scale; member
39 VEC3 scale; member
53 scale = t.scale; in Transform2()
59 scale = s; in Transform2()
80 scale = t.scale; in Transform3()
86 scale = s; in Transform3()
101 pOut->scale = VEC2(1.f, 1.f); in Transform2Identity()
111 pOut->scale = VEC3(1.f, 1.f, 1.f); in Transform3Identity()
Dmath_Vector3.h45 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3* p, f32 scale);
323 VEC3Scale(VEC3* pOut, const VEC3* p, f32 scale) in VEC3Scale() argument
325 pOut->x = scale * p->x; in VEC3Scale()
326 pOut->y = scale * p->y; in VEC3Scale()
327 pOut->z = scale * p->z; in VEC3Scale()
481 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3& v, f32 scale) { return VEC3Scale( pOut, &v, scale );… in VEC3Scale() argument
Dmath_Vector2.h298 VEC2Scale(VEC2* pOut, const VEC2* p, f32 scale) in VEC2Scale() argument
303 pOut->x = p->x * scale; pOut->y = p->y * scale; in VEC2Scale()
402 inline VEC2* VEC2Scale(VEC2* pOut, const VEC2& v, f32 scale) { return VEC2Scale(pOut, &v, scale); } in VEC2Scale() argument
Dmath_Vector4.h38 NN_MATH_INLINE VEC4* VEC4Scale(VEC4* pOut, const VEC4* p, f32 scale);
270 inline VEC4* VEC4Scale(VEC4* pOut, const VEC4& v, f32 scale) { return VEC4Scale( pOut, &v, scale); } in VEC4Scale() argument
Dmath_Quaternion.h35 NN_MATH_INLINE QUAT* QUATScale(QUAT* pOut, const QUAT* q, f32 scale);
216 inline QUAT* QUATScale(QUAT* pOut, const QUAT& q, f32 scale) { return QUATScale( pOut, &q, scale );… in QUATScale() argument
Dmath_Matrix23.h203 self_type& SetupScale(const MTX23& matrix, const VEC2& scale) in SetupScale()
205 return *MTX23Scale(this, &matrix, &scale); in SetupScale()
Dmath_Matrix34.h335 self_type& SetupScale(const VEC3& scale) { return *MTX34Scale(this, &scale); } in SetupScale()
Dmath_Matrix44.h402 self_type& SetupScale(const VEC3& scale) { return *MTX44Scale(this, &scale); } in SetupScale()
/CTR-SDK-2.4.0/include/nn/hid/CTR/
Dhid_AnalogStickClamper.h68 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold );
69 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
Dhid_PadReader.h220 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold );
229 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
/CTR-SDK-2.4.0/include/nn/gr/CTR/
Dgr_FragmentLight.h269 void SetDistAttnScaleBias( const f32 scale, const f32 bias ) in SetDistAttnScaleBias() argument
271 distAttnScale = Float32ToFloat20( scale ); in SetDistAttnScaleBias()
582 PicaDataFragLightEnvLutScale scale; variable
Dgr_Combiner.h86 PicaDataTexEnvScale scale; member
/CTR-SDK-2.4.0/include/nn/camera/CTR/
Dcamera_CalibrationTypes.h50 f32 scale; member
/CTR-SDK-2.4.0/include/nn/gd/CTR/
Dgd_Utils.h80 static void ConvertStartEndToScaleBias(f32 start, f32 end, f32& scale, f32& bias);
330 NN_FORCE_INLINE void Utils::ConvertStartEndToScaleBias(f32 start, f32 end, f32& scale, f32& bias) in ConvertStartEndToScaleBias() argument
332 scale = 1.f / ( end - start ); in ConvertStartEndToScaleBias()
333 bias = -start * scale; in ConvertStartEndToScaleBias()
Dgd_Texture.h1962 u32 scale = ((((*(u32*)&zScale) >> 23) & 0xff) - 127); in SetShadowZScaleBias() local
1972 internal::g_texture.m_ShadowTextureSetting |= scale << 24; in SetShadowZScaleBias()
/CTR-SDK-2.4.0/include/nn/gx/CTR/
Dgx_MacroFragment.h112 #define PICA_CMD_DATA_FRAG_LIGHT_DIST_ATTN_SCALE(scale) ( scale ) argument
/CTR-SDK-2.4.0/include/nn/math/ARMv6/inline/
Dmath_Matrix44.ipp1349 // Version where the scale matrix is applied from the right.
Dmath_Matrix34.ipp251 // Version where the scale matrix is applied from the right.