Physics-Particles

 view release on metacpan or  search on metacpan

lib/Physics/Particles.pm  view on Meta::CPAN

			z => 0,
			vx => 0,
			vy => 0,
			vz => 0,
			m => 1,
			n => '',
		},
		@_
	};

	bless $self => $class;
}


# method set_particle_default
#
# Takes a hash reference whichis then used as is for
# particle default attributes such as position, velocity, mass,
# unique ID, or whatever properties you fancy.

sub set_particle_default {



( run in 0.373 second using v1.01-cache-2.11-cpan-65fba6d93b7 )