Home
last modified time | relevance | path

Searched refs:velocity (Results 1 – 22 of 22) sorted by relevance

/NW4C-2.0.3/sources/libraries/snd/
Dsnd_Bank.cpp82 noteOnInfo.velocity ) ) in NoteOn()
132 register int velocity = noteOnInfo.velocity; in NoteOn() local
133 velocity *= velocity; in NoteOn()
134 velocity *= regionInfo.volume; in NoteOn()
135 float initVolume = static_cast<float>( velocity ); in NoteOn()
Dsnd_Sound3DActor.cpp132 param.velocity = m_Velocity; in SetupSound()
228 void Sound3DActor::SetVelocity( const nw::math::VEC3& velocity ) in SetVelocity() argument
230 m_Velocity = velocity; in SetVelocity()
249 param->velocity = m_Velocity; in detail_UpdateAmbientArg()
Dsnd_BankFileReader.cpp87 int velocity ) const in ReadVelocityRegionInfo()
110 keyRegion->GetVelocityRegion( velocity ); in ReadVelocityRegionInfo()
130 programNo, key, velocity ); in ReadVelocityRegionInfo()
Dsnd_SequenceTrack.cpp681 int velocity, in NoteOn() argument
687 NW_MINMAX_ASSERT( velocity, 0, 127 ); in NoteOn()
694 velocity = velocity * m_ParserTrackParam.velocityRange / 127; in NoteOn()
703 float initVolume = static_cast<float>( velocity ) / 127.0f; in NoteOn()
723 float initVolume = static_cast<float>( velocity ) / 127.0f; in NoteOn()
735 velocity, in NoteOn()
Dsnd_Sound3DListener.cpp77 void Sound3DListener::SetVelocity( const nw::math::VEC3& velocity ) in SetVelocity() argument
79 m_Velocity = velocity; in SetVelocity()
Dsnd_MidiSequencePlayer.cpp131 void MidiSequencePlayer::NoteOn( u8 channelIndex, u8 key, u8 velocity ) in NoteOn() argument
149 float initVolume = static_cast<float>( velocity ) / 127.0f; in NoteOn()
159 Channel* channel = track->NoteOn( key, velocity, -1, false ); in NoteOn()
170 void MidiSequencePlayer::NoteOff( u8 channelIndex, u8 key, u8 velocity ) in NoteOff() argument
172 (void)velocity; in NoteOff()
Dsnd_BankFile.cpp282 BankFile::KeyRegion::GetVelocityRegion( u32 velocity ) const in GetVelocityRegion()
290 velocity ) in GetVelocityRegion()
Dsnd_MmlParser.cpp104 const u8 velocity = ReadByte( &trackParam.currentAddr ); in Parse() local
121 velocity, in Parse()
894 int velocity, in NoteOnCommandProc() argument
899 track->NoteOn( key, velocity, length, tieFlag ); in NoteOnCommandProc()
Dsnd_Sound3DCalculator.cpp171 actorVelocity = - nw::math::VEC3Dot( &relPos, &actorParam.velocity ); in CalcPitch()
175 actorVelocity = - nw::math::VEC3Len( &actorParam.velocity ); in CalcPitch()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_ParticleSet.cpp679 …nw::math::VEC3* velocity = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTI… in SetDefaultValues() local
680 NW_NULL_ASSERT(velocity); in SetDefaultValues()
712 velocity[nextIndex].x = 0.0f; in SetDefaultValues()
713 velocity[nextIndex].y = 0.0f; in SetDefaultValues()
714 velocity[nextIndex].z = 0.0f; in SetDefaultValues()
790 math::VEC3* velocity = in AddParticles() local
800 … nw::math::VEC3TransformNormal(&velocity[dstIndex], transformMatrix, velocity[dstIndex]); in AddParticles()
815 math::VEC3* velocity = in AddParticles() local
860 velocity[dstIndex] += parentVelocity[parentIndex]; in AddParticles()
861 … nw::math::VEC3TransformNormal(&velocity[dstIndex], workMatrix, velocity[dstIndex]); in AddParticles()
[all …]
Dgfx_ParticleEmitter.cpp561 …nw::math::VEC3* velocity = (nw::math::VEC3*)targetCollection->GetStreamPtr(PARTICLEUSAGE_VELOCITY,… in Emission() local
569 nw::math::VEC3TransformNormal(&velocity[dstIndex], transformMatrix, velocity[dstIndex]); in Emission()
/NW4C-2.0.3/include/nw/snd/
Dsnd_MidiSequencePlayer.h167 void NoteOn( u8 channelIndex, u8 key, u8 velocity );
168 void NoteOff( u8 channelIndex, u8 key, u8 velocity );
Dsnd_NoteOnCallback.h34 int velocity; member
Dsnd_BankFileReader.h58 int velocity
Dsnd_Sound3DActor.h226 void SetVelocity( const nw::math::VEC3& velocity );
Dsnd_MmlParser.h77 int velocity,
Dsnd_Sound3DListener.h148 void SetVelocity( const nw::math::VEC3& velocity );
Dsnd_BankFile.h157 const VelocityRegion* GetVelocityRegion( u32 velocity ) const;
Dsnd_Sound3DManager.h74 math::VEC3 velocity; member
Dsnd_SequenceTrack.h163 int velocity,
/NW4C-2.0.3/demos/gfx/ParticleUpdaterDemo/sources/
DParticleUpdaterDemo.cpp253 nw::math::VEC3* velocity = in UserUpdater() local
257 if (velocity == NULL) in UserUpdater()
273 nextPosition = translate[index] + velocity[index]; in UserUpdater()
278 velocity[index].x *= -1.0f; in UserUpdater()
279 velocity[index].z *= -1.0f; in UserUpdater()
/NW4C-2.0.3/demos/gfx/ParticleChangeVtxDemo/sources/
DParticleChangeVtxDemo.cpp410 nw::math::VEC3* velocity = in UpdateScene() local
436 velocity[index].x *= -1.0f; in UpdateScene()