Module: Bayonetta::QuantizedValues

Instance Method Summary collapse

Instance Method Details

#get_m0(i) ⇒ Object



61
62
63
# File 'lib/bayonetta/mot.rb', line 61

def get_m0(i)
  @m0 + @keys[i].cm0 * @dm0
end

#get_m1(i) ⇒ Object



57
58
59
# File 'lib/bayonetta/mot.rb', line 57

def get_m1(i)
  @m1 + @keys[i].cm1 * @dm1
end

#get_p(i) ⇒ Object



53
54
55
# File 'lib/bayonetta/mot.rb', line 53

def get_p(i)
  @p + @keys[i].cp * @dp
end