| /CTR-SDK-2.4.0/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-2.4.0/include/nn/math/inline/ |
| D | math_Quaternion.ipp | 135 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 …]
|
| D | math_Vector4.ipp | 122 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/ |
| 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-2.4.0/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 | 45 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
|
| D | math_Vector2.h | 298 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
|
| D | math_Vector4.h | 38 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
|
| D | math_Quaternion.h | 35 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
|
| D | math_Matrix23.h | 203 self_type& SetupScale(const MTX23& matrix, const VEC2& scale) in SetupScale() 205 return *MTX23Scale(this, &matrix, &scale); in SetupScale()
|
| D | math_Matrix34.h | 335 self_type& SetupScale(const VEC3& scale) { return *MTX34Scale(this, &scale); } in SetupScale()
|
| D | math_Matrix44.h | 402 self_type& SetupScale(const VEC3& scale) { return *MTX44Scale(this, &scale); } in SetupScale()
|
| /CTR-SDK-2.4.0/include/nn/hid/CTR/ |
| D | hid_AnalogStickClamper.h | 68 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold ); 69 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
|
| D | hid_PadReader.h | 220 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold ); 229 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
|
| /CTR-SDK-2.4.0/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-2.4.0/include/nn/camera/CTR/ |
| D | camera_CalibrationTypes.h | 50 f32 scale; member
|
| /CTR-SDK-2.4.0/include/nn/gd/CTR/ |
| D | gd_Utils.h | 80 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()
|
| D | gd_Texture.h | 1962 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/ |
| D | gx_MacroFragment.h | 112 #define PICA_CMD_DATA_FRAG_LIGHT_DIST_ATTN_SCALE(scale) ( scale ) argument
|
| /CTR-SDK-2.4.0/include/nn/math/ARMv6/inline/ |
| D | math_Matrix44.ipp | 1349 // Version where the scale matrix is applied from the right.
|
| D | math_Matrix34.ipp | 251 // Version where the scale matrix is applied from the right.
|