| /CTR-SDK-4.2.5/sources/libraries/math/ |
| D | math_Transform.cpp | 42 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-4.2.5/include/nn/math/inline/ |
| D | math_Quaternion.ipp | 65 f32 theta, scale; 74 scale = 1.0F; 78 scale = (f32)::std::sinf(theta) / theta; 81 pOut->x = scale * q->x; 82 pOut->y = scale * q->y; 83 pOut->z = scale * q->z; 107 f32 theta, scale; 112 scale = q->x * q->x + q->y * q->y + q->z * q->z; 114 scale = ::std::sqrtf(scale); 115 theta = ::std::atan2f( scale, q->w ); [all …]
|
| D | math_Matrix34.ipp | 210 f32 scale = -1.0f / (f - n); 214 mtx[0][0] = ((-1.0f * n) * reverseWidth) * scale; 216 mtx[0][2] = ((((r + l) * reverseWidth) * -0.5f) + 0.5f) * scale; 221 mtx[1][1] = ((-1.0f * n) * reverseHeight) * scale; 222 mtx[1][2] = ((((t+ b) * reverseHeight) * -0.5f) + 0.5f) * scale; 227 mtx[2][2] = scale; 271 f32 scale = -1.0f / (f - n); 275 mtx[0][0] = (cot / aspect) * scale; 277 mtx[0][2] = 0.5f * scale; 281 mtx[1][1] = cot * scale; [all …]
|
| D | math_Vector4.ipp | 145 VEC4Scale(VEC4* pOut, const VEC4* p, f32 scale) 147 pOut->x = scale * p->x; 148 pOut->y = scale * p->y; 149 pOut->z = scale * p->z; 150 pOut->w = scale * p->w;
|
| /CTR-SDK-4.2.5/include/nn/hid/CTR/ |
| D | hid_ExtraPadReader.h | 220 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold ); 229 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const; 325 void SetNormalizeExtraStickScaleSettings( f32 scale, s16 threshold ); 334 void GetNormalizeExtraStickScaleSettings( f32* scale, s16* threshold ) const; 394 inline void ExtraPadReader::SetNormalizeExtraStickScaleSettings(f32 scale, s16 threshold) in SetNormalizeExtraStickScaleSettings() argument 396 m_ExtraStickClamper.SetNormalizeStickScaleSettings(scale,threshold); in SetNormalizeExtraStickScaleSettings() 399 inline void ExtraPadReader::GetNormalizeExtraStickScaleSettings(f32* scale, s16* threshold) const in GetNormalizeExtraStickScaleSettings() argument 401 m_ExtraStickClamper.GetNormalizeStickScaleSettings(scale,threshold); in GetNormalizeExtraStickScaleSettings()
|
| D | hid_PadReader.h | 213 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold ); 222 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
|
| D | hid_AnalogStickClamper.h | 69 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold ); 70 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
|
| /CTR-SDK-4.2.5/sources/libraries/gr/CTR/ |
| D | gr_Combiner.cpp | 81 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 …]
|
| D | gr_FragmentLight.cpp | 157 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-4.2.5/include/nn/math/ |
| D | math_Transform.h | 32 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()
|
| D | math_Vector3.h | 175 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3* p, f32 scale); 473 VEC3Scale(VEC3* pOut, const VEC3* p, f32 scale) in VEC3Scale() argument 475 pOut->x = scale * p->x; in VEC3Scale() 476 pOut->y = scale * p->y; in VEC3Scale() 477 pOut->z = scale * p->z; in VEC3Scale() 572 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3& v, f32 scale) { return VEC3Scale( pOut, &v, scale );… in VEC3Scale() argument
|
| D | math_Vector2.h | 169 NN_MATH_INLINE VEC2* VEC2Scale(VEC2* pOut, const VEC2* p, f32 scale); 441 VEC2Scale(VEC2* pOut, const VEC2* p, f32 scale) in VEC2Scale() argument 446 pOut->x = p->x * scale; pOut->y = p->y * scale; in VEC2Scale() 499 inline VEC2* VEC2Scale(VEC2* pOut, const VEC2& v, f32 scale) { return VEC2Scale(pOut, &v, scale); } in VEC2Scale() argument
|
| D | math_Quaternion.h | 155 NN_MATH_INLINE QUAT* QUATScale(QUAT* pOut, const QUAT* q, f32 scale); 404 inline QUAT* QUATScale(QUAT* pOut, const QUAT& q, f32 scale) { return QUATScale( pOut, &q, scale );… in QUATScale() argument
|
| D | math_Vector4.h | 181 NN_MATH_INLINE VEC4* VEC4Scale(VEC4* pOut, const VEC4* p, f32 scale); 455 inline VEC4* VEC4Scale(VEC4* pOut, const VEC4& v, f32 scale) { return VEC4Scale( pOut, &v, scale); } in VEC4Scale() argument
|
| D | math_Matrix23.h | 386 self_type& SetupScale(const MTX23& matrix, const VEC2& scale) in SetupScale() argument 388 return *MTX23Scale(this, &matrix, &scale); in SetupScale()
|
| D | math_Matrix44.h | 675 self_type& SetupScale(const VEC3& scale) { return *MTX44Scale(this, &scale); } in SetupScale() argument
|
| D | math_Matrix34.h | 736 self_type& SetupScale(const VEC3& scale) { return *MTX34Scale(this, &scale); } in SetupScale() argument
|
| /CTR-SDK-4.2.5/include/nn/gr/CTR/ |
| D | gr_FragmentLight.h | 269 void SetDistAttnScaleBias( const f32 scale, const f32 bias ) in SetDistAttnScaleBias() argument 271 distAttnScale = Float32ToFloat20( scale ); in SetDistAttnScaleBias() 582 PicaDataFragLightEnvLutScale scale; variable
|
| D | gr_Combiner.h | 86 PicaDataTexEnvScale scale; member
|
| /CTR-SDK-4.2.5/include/nn/gd/CTR/ |
| D | gd_Utils.h | 81 static void ConvertStartEndToScaleBias(f32 start, f32 end, f32& scale, f32& bias); 333 NN_FORCE_INLINE void Utils::ConvertStartEndToScaleBias(f32 start, f32 end, f32& scale, f32& bias) in ConvertStartEndToScaleBias() argument 335 scale = 1.f / ( end - start ); in ConvertStartEndToScaleBias() 336 bias = -start * scale; in ConvertStartEndToScaleBias()
|
| /CTR-SDK-4.2.5/include/nn/camera/CTR/ |
| D | camera_CalibrationTypes.h | 50 f32 scale; member
|
| /CTR-SDK-4.2.5/include/nn/gx/CTR/ |
| D | gx_MacroFragment.h | 113 #define PICA_CMD_DATA_FRAG_LIGHT_DIST_ATTN_SCALE(scale) ( scale ) argument
|
| /CTR-SDK-4.2.5/tools/CommandLineTools/ctr_GxCommandAnalyzer/ |
| D | abstruct.csv | 158 0x14b,Light source number 0 distance attenuation setting (scale) 169 0x15b,Light source number 1 distance attenuation setting (scale) 180 0x16b,Light source number 2 distance attenuation setting (scale) 191 0x17b,Light source number 3 distance attenuation setting (scale) 202 0x18b,Light source number 4 distance attenuation setting (scale) 213 0x19b,Light source number 5 distance attenuation setting (scale) 224 0x1ab,Light source number 6 distance attenuation setting (scale) 235 0x1bb,Light source number 7 distance attenuation setting (scale)
|
| /CTR-SDK-4.2.5/include/nn/math/ARMv6/inline/ |
| D | math_Matrix34.ipp | 251 // Version where the scale matrix is applied from the right.
|
| D | math_Matrix44.ipp | 1349 // Version where the scale matrix is applied from the right.
|