blob: 2c2e148a59a9faa6791706a481b31af881c0b514 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
package mt
type TweenStyle uint8
const (
Fwd TweenStyle = iota // Normal, linear interpolation.
Rev
Pulse
Flicker
)
type TweenF32 struct {
Style TweenStyle
Reps uint16
Beginning float32
Start, End float32
}
type TweenV2F32 struct {
Style TweenStyle
Reps uint16
Beginning float32
Start, End [2]float32
}
type TweenV3F32 struct {
Style TweenStyle
Reps uint16
Beginning float32
Start, End [3]float32
}
type TweenRangeF32 struct {
Style TweenStyle
Reps uint16
Beginning float32
Start, End RangeF32
}
type TweenRangeV3F32 struct {
Style TweenStyle
Reps uint16
Beginning float32
Start, End RangeV3F32
}
|