Home
last modified time | relevance | path

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

/NW4C-1.2.23/sources/libraries/snd/
Dsnd_Bank.cpp79 noteOnInfo.velocity ) ) in NoteOn()
117 register int velocity = noteOnInfo.velocity; in NoteOn() local
118 velocity *= velocity; in NoteOn()
119 velocity *= regionInfo.volume; in NoteOn()
120 float initVolume = static_cast<float>( velocity ); in NoteOn()
Dsnd_Sound3DActor.cpp130 param.velocity = m_Velocity; in SetupSound()
226 void Sound3DActor::SetVelocity( const nw::math::VEC3& velocity ) in SetVelocity() argument
228 m_Velocity = velocity; in SetVelocity()
247 param->velocity = m_Velocity; in detail_UpdateAmbientArg()
Dsnd_SequenceTrack.cpp679 int velocity, in NoteOn() argument
685 NW_MINMAX_ASSERT( velocity, 0, 127 ); in NoteOn()
692 velocity = velocity * m_ParserTrackParam.velocityRange / 127; in NoteOn()
701 float initVolume = static_cast<float>( velocity ) / 127.0f; in NoteOn()
721 float initVolume = static_cast<float>( velocity ) / 127.0f; in NoteOn()
733 velocity, in NoteOn()
Dsnd_Sound3DListener.cpp75 void Sound3DListener::SetVelocity( const nw::math::VEC3& velocity ) in SetVelocity() argument
77 m_Velocity = velocity; in SetVelocity()
Dsnd_BankFileReader.cpp85 int velocity ) const in ReadVelocityRegionInfo()
108 keyRegion->GetVelocityRegion( velocity ); in ReadVelocityRegionInfo()
Dsnd_MidiSequencePlayer.cpp129 void MidiSequencePlayer::NoteOn( u8 channelIndex, u8 key, u8 velocity ) in NoteOn() argument
147 float initVolume = static_cast<float>( velocity ) / 127.0f; in NoteOn()
157 Channel* channel = track->NoteOn( key, velocity, -1, false ); in NoteOn()
168 void MidiSequencePlayer::NoteOff( u8 channelIndex, u8 key, u8 velocity ) in NoteOff() argument
170 (void)velocity; in NoteOff()
Dsnd_BankFile.cpp280 BankFile::KeyRegion::GetVelocityRegion( u32 velocity ) const in GetVelocityRegion()
288 velocity ) in GetVelocityRegion()
Dsnd_MmlParser.cpp102 const u8 velocity = ReadByte( &trackParam.currentAddr ); in Parse() local
119 velocity, in Parse()
892 int velocity, in NoteOnCommandProc() argument
897 track->NoteOn( key, velocity, length, tieFlag ); in NoteOnCommandProc()
Dsnd_Sound3DCalculator.cpp169 actorVelocity = - nw::math::VEC3Dot( &relPos, &actorParam.velocity ); in CalcPitch()
173 actorVelocity = - nw::math::VEC3Len( &actorParam.velocity ); in CalcPitch()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_ParticleSet.cpp666 …nw::math::VEC3* velocity = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTI… in SetDefaultValues() local
667 NW_NULL_ASSERT(velocity); in SetDefaultValues()
698 velocity[nextIndex].x = 0.0f; in SetDefaultValues()
699 velocity[nextIndex].y = 0.0f; in SetDefaultValues()
700 velocity[nextIndex].z = 0.0f; in SetDefaultValues()
776 math::VEC3* velocity = in AddParticles() local
786 … nw::math::VEC3TransformNormal(&velocity[dstIndex], transformMatrix, velocity[dstIndex]); in AddParticles()
801 math::VEC3* velocity = in AddParticles() local
831 nw::math::VEC3TransformNormal(&velocity[dstIndex], workMatrix, velocity[dstIndex]); in AddParticles()
889 …nw::math::VEC3* velocity = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTI… in AddParticles() local
[all …]
Dgfx_ParticleEmitter.cpp559 …nw::math::VEC3* velocity = (nw::math::VEC3*)targetCollection->GetStreamPtr(PARTICLEUSAGE_VELOCITY,… in Emission() local
567 nw::math::VEC3TransformNormal(&velocity[dstIndex], transformMatrix, velocity[dstIndex]); in Emission()
/NW4C-1.2.23/include/nw/snd/
Dsnd_MidiSequencePlayer.h165 void NoteOn( u8 channelIndex, u8 key, u8 velocity );
166 void NoteOff( u8 channelIndex, u8 key, u8 velocity );
Dsnd_NoteOnCallback.h32 int velocity; member
Dsnd_BankFileReader.h56 int velocity
Dsnd_Sound3DActor.h224 void SetVelocity( const nw::math::VEC3& velocity );
Dsnd_MmlParser.h75 int velocity,
Dsnd_Sound3DListener.h146 void SetVelocity( const nw::math::VEC3& velocity );
Dsnd_BankFile.h155 const VelocityRegion* GetVelocityRegion( u32 velocity ) const;
Dsnd_Sound3DManager.h72 math::VEC3 velocity; member
Dsnd_SequenceTrack.h161 int velocity,
/NW4C-1.2.23/demos/gfx/ParticleUpdaterDemo/sources/
DParticleUpdaterDemo.cpp259 nw::math::VEC3* velocity = in UserUpdater() local
263 if (velocity == NULL) in UserUpdater()
279 nextPosition = translate[index] + velocity[index]; in UserUpdater()
284 velocity[index].x *= -1.0f; in UserUpdater()
285 velocity[index].z *= -1.0f; in UserUpdater()
/NW4C-1.2.23/demos/gfx/ParticleChangeVtxDemo/sources/
DParticleChangeVtxDemo.cpp416 nw::math::VEC3* velocity = in UpdateScene() local
442 velocity[index].x *= -1.0f; in UpdateScene()