Module: CGLM::Easing

Defined in:
ext/cglm/rb_cglm_ease.c

Instance Method Summary collapse

Instance Method Details

#back_in(val) ⇒ Object



91
92
93
# File 'ext/cglm/rb_cglm_ease.c', line 91

VALUE rb_cglm_ease_back_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_back_in(NUM2FLT(val)));
}

#back_inout(val) ⇒ Object



99
100
101
# File 'ext/cglm/rb_cglm_ease.c', line 99

VALUE rb_cglm_ease_back_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_back_inout(NUM2FLT(val)));
}

#back_out(val) ⇒ Object



95
96
97
# File 'ext/cglm/rb_cglm_ease.c', line 95

VALUE rb_cglm_ease_back_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_back_out(NUM2FLT(val)));
}

#bounce_in(val) ⇒ Object



119
120
121
# File 'ext/cglm/rb_cglm_ease.c', line 119

VALUE rb_cglm_ease_bounce_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_bounce_in(NUM2FLT(val)));
}

#bounce_inout(val) ⇒ Object



123
124
125
# File 'ext/cglm/rb_cglm_ease.c', line 123

VALUE rb_cglm_ease_bounce_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_bounce_inout(NUM2FLT(val)));
}

#bounce_out(val) ⇒ Object



115
116
117
# File 'ext/cglm/rb_cglm_ease.c', line 115

VALUE rb_cglm_ease_bounce_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_bounce_out(NUM2FLT(val)));
}

#circ_in(val) ⇒ Object



79
80
81
# File 'ext/cglm/rb_cglm_ease.c', line 79

VALUE rb_cglm_ease_circ_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_circ_in(NUM2FLT(val)));
}

#circ_inout(val) ⇒ Object



87
88
89
# File 'ext/cglm/rb_cglm_ease.c', line 87

VALUE rb_cglm_ease_circ_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_circ_inout(NUM2FLT(val)));
}

#circ_out(val) ⇒ Object



83
84
85
# File 'ext/cglm/rb_cglm_ease.c', line 83

VALUE rb_cglm_ease_circ_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_circ_out(NUM2FLT(val)));
}

#cubic_in(val) ⇒ Object



31
32
33
# File 'ext/cglm/rb_cglm_ease.c', line 31

VALUE rb_cglm_ease_cubic_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_cubic_in(NUM2FLT(val)));
}

#cubic_inout(val) ⇒ Object



39
40
41
# File 'ext/cglm/rb_cglm_ease.c', line 39

VALUE rb_cglm_ease_cubic_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_cubic_inout(NUM2FLT(val)));
}

#cubic_out(val) ⇒ Object



35
36
37
# File 'ext/cglm/rb_cglm_ease.c', line 35

VALUE rb_cglm_ease_cubic_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_cubic_out(NUM2FLT(val)));
}

#elast_in(val) ⇒ Object



103
104
105
# File 'ext/cglm/rb_cglm_ease.c', line 103

VALUE rb_cglm_ease_elast_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_elast_in(NUM2FLT(val)));
}

#elast_inout(val) ⇒ Object



111
112
113
# File 'ext/cglm/rb_cglm_ease.c', line 111

VALUE rb_cglm_ease_elast_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_elast_inout(NUM2FLT(val)));
}

#elast_out(val) ⇒ Object



107
108
109
# File 'ext/cglm/rb_cglm_ease.c', line 107

VALUE rb_cglm_ease_elast_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_elast_out(NUM2FLT(val)));
}

#exp_in(val) ⇒ Object



67
68
69
# File 'ext/cglm/rb_cglm_ease.c', line 67

VALUE rb_cglm_ease_exp_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_exp_in(NUM2FLT(val)));
}

#exp_inout(val) ⇒ Object



75
76
77
# File 'ext/cglm/rb_cglm_ease.c', line 75

VALUE rb_cglm_ease_exp_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_exp_inout(NUM2FLT(val)));
}

#exp_out(val) ⇒ Object



71
72
73
# File 'ext/cglm/rb_cglm_ease.c', line 71

VALUE rb_cglm_ease_exp_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_exp_out(NUM2FLT(val)));
}

#linear(val) ⇒ Object



3
4
5
# File 'ext/cglm/rb_cglm_ease.c', line 3

VALUE rb_cglm_ease_linear(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_linear(NUM2FLT(val)));
}

#quad_in(val) ⇒ Object



19
20
21
# File 'ext/cglm/rb_cglm_ease.c', line 19

VALUE rb_cglm_ease_quad_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quad_in(NUM2FLT(val)));
}

#quad_inout(val) ⇒ Object



27
28
29
# File 'ext/cglm/rb_cglm_ease.c', line 27

VALUE rb_cglm_ease_quad_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quad_inout(NUM2FLT(val)));
}

#quad_out(val) ⇒ Object



23
24
25
# File 'ext/cglm/rb_cglm_ease.c', line 23

VALUE rb_cglm_ease_quad_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quad_out(NUM2FLT(val)));
}

#quart_in(val) ⇒ Object



43
44
45
# File 'ext/cglm/rb_cglm_ease.c', line 43

VALUE rb_cglm_ease_quart_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quart_in(NUM2FLT(val)));
}

#quart_inout(val) ⇒ Object



51
52
53
# File 'ext/cglm/rb_cglm_ease.c', line 51

VALUE rb_cglm_ease_quart_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quart_inout(NUM2FLT(val)));
}

#quart_out(val) ⇒ Object



47
48
49
# File 'ext/cglm/rb_cglm_ease.c', line 47

VALUE rb_cglm_ease_quart_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quart_out(NUM2FLT(val)));
}

#quint_in(val) ⇒ Object



55
56
57
# File 'ext/cglm/rb_cglm_ease.c', line 55

VALUE rb_cglm_ease_quint_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quint_in(NUM2FLT(val)));
}

#quint_inout(val) ⇒ Object



63
64
65
# File 'ext/cglm/rb_cglm_ease.c', line 63

VALUE rb_cglm_ease_quint_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quint_inout(NUM2FLT(val)));
}

#quint_out(val) ⇒ Object



59
60
61
# File 'ext/cglm/rb_cglm_ease.c', line 59

VALUE rb_cglm_ease_quint_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_quint_out(NUM2FLT(val)));
}

#sine_in(val) ⇒ Object



7
8
9
# File 'ext/cglm/rb_cglm_ease.c', line 7

VALUE rb_cglm_ease_sine_in(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_sine_in(NUM2FLT(val)));
}

#sine_inout(val) ⇒ Object



15
16
17
# File 'ext/cglm/rb_cglm_ease.c', line 15

VALUE rb_cglm_ease_sine_inout(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_sine_inout(NUM2FLT(val)));
}

#sine_out(val) ⇒ Object



11
12
13
# File 'ext/cglm/rb_cglm_ease.c', line 11

VALUE rb_cglm_ease_sine_out(VALUE self, VALUE val) {
  return DBL2NUM(glm_ease_sine_out(NUM2FLT(val)));
}