Class: Quake::Renderer::GLParticles::Particle

Inherits:
Struct
  • Object
show all
Defined in:
lib/quake/renderer/gl_particles.rb

Instance Attribute Summary collapse

Instance Attribute Details

#aObject

Returns the value of attribute a

Returns:

  • (Object)

    the current value of a



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def a
  @a
end

#bObject

Returns the value of attribute b

Returns:

  • (Object)

    the current value of b



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def b
  @b
end

#gObject

Returns the value of attribute g

Returns:

  • (Object)

    the current value of g



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def g
  @g
end

#gravity_scaleObject

Returns the value of attribute gravity_scale

Returns:

  • (Object)

    the current value of gravity_scale



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def gravity_scale
  @gravity_scale
end

#lifeObject

Returns the value of attribute life

Returns:

  • (Object)

    the current value of life



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def life
  @life
end

#rObject

Returns the value of attribute r

Returns:

  • (Object)

    the current value of r



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def r
  @r
end

#rampObject

Returns the value of attribute ramp

Returns:

  • (Object)

    the current value of ramp



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def ramp
  @ramp
end

#ramp_typeObject

Returns the value of attribute ramp_type

Returns:

  • (Object)

    the current value of ramp_type



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def ramp_type
  @ramp_type
end

#vxObject

Returns the value of attribute vx

Returns:

  • (Object)

    the current value of vx



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def vx
  @vx
end

#vyObject

Returns the value of attribute vy

Returns:

  • (Object)

    the current value of vy



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def vy
  @vy
end

#vzObject

Returns the value of attribute vz

Returns:

  • (Object)

    the current value of vz



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def vz
  @vz
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def y
  @y
end

#zObject

Returns the value of attribute z

Returns:

  • (Object)

    the current value of z



34
35
36
# File 'lib/quake/renderer/gl_particles.rb', line 34

def z
  @z
end