コード例 #1
0
ファイル: part_velsphere.cpp プロジェクト: kmatheussen/libpd
/////////////////////////////////////////////////////////
// renderParticles
//
/////////////////////////////////////////////////////////
void part_velsphere :: renderParticles(GemState *state)
{
  if (m_tickTime > 0.f)
    {
      pVelocityD(PDSphere, m_pos[0], m_pos[1], m_pos[2], m_radius);
    }
}
コード例 #2
0
ファイル: part_velcone.cpp プロジェクト: Jackovic/Gem
/////////////////////////////////////////////////////////
// renderParticles
//
/////////////////////////////////////////////////////////
void part_velcone :: renderParticles(GemState *state)
{
	if (m_tickTime > 0.f)
	{
		pVelocityD(PDCone, 0.f, 0.f, 0.f, m_pos[0], m_pos[1], m_pos[2], m_radius);
	}
}
コード例 #3
0
ファイル: part_velocity.cpp プロジェクト: avilleret/Gem
/////////////////////////////////////////////////////////
// renderParticles
//
/////////////////////////////////////////////////////////
void part_velocity :: renderParticles(GemState *state)
{
  if (m_tickTime > 0.f)
    pVelocityD(m_domain,
	       m_arg[0],m_arg[1],m_arg[2],m_arg[3],m_arg[4],m_arg[5],m_arg[6],m_arg[7],m_arg[8]);
}