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



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def a
  @a
end

#bObject

Returns the value of attribute b

Returns:

  • (Object)

    the current value of b



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def b
  @b
end

#gObject

Returns the value of attribute g

Returns:

  • (Object)

    the current value of g



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def g
  @g
end

#gravity_scaleObject

Returns the value of attribute gravity_scale

Returns:

  • (Object)

    the current value of gravity_scale



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def gravity_scale
  @gravity_scale
end

#lifeObject

Returns the value of attribute life

Returns:

  • (Object)

    the current value of life



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def life
  @life
end

#rObject

Returns the value of attribute r

Returns:

  • (Object)

    the current value of r



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def r
  @r
end

#rampObject

Returns the value of attribute ramp

Returns:

  • (Object)

    the current value of ramp



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def ramp
  @ramp
end

#ramp_typeObject

Returns the value of attribute ramp_type

Returns:

  • (Object)

    the current value of ramp_type



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def ramp_type
  @ramp_type
end

#vxObject

Returns the value of attribute vx

Returns:

  • (Object)

    the current value of vx



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def vx
  @vx
end

#vyObject

Returns the value of attribute vy

Returns:

  • (Object)

    the current value of vy



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def vy
  @vy
end

#vzObject

Returns the value of attribute vz

Returns:

  • (Object)

    the current value of vz



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def vz
  @vz
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def y
  @y
end

#zObject

Returns the value of attribute z

Returns:

  • (Object)

    the current value of z



19
20
21
# File 'lib/quake/renderer/gl_particles.rb', line 19

def z
  @z
end