Update on change
This commit is contained in:
parent
7022e4e5ca
commit
4de20264fa
2 changed files with 68 additions and 26 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package main
|
||||
|
||||
import rl "libraries/raylib"
|
||||
import "core:fmt"
|
||||
|
||||
/*
|
||||
Maybe it is possible to have everything 3d be mathed the same way
|
||||
|
|
@ -58,6 +59,16 @@ _animation_rectangle_update_last :: proc(animation: ^AnimationInterface, master_
|
|||
br = (master_matrix * v3{**data.origin.br, 1.0}).xy,
|
||||
bl = (master_matrix * v3{**data.origin.bl, 1.0}).xy,
|
||||
}
|
||||
fmt.println(data.last)
|
||||
fmt.println(data.origin)
|
||||
}
|
||||
|
||||
_animation_rectangle_update :: proc(animation: ^AnimationInterface, current_matrix: mat3, progress: f32) {
|
||||
|
||||
}
|
||||
|
||||
_animation_rectangle_update_goto_next :: proc(animation: ^AnimationInterface, next_matrix: mat3) {
|
||||
|
||||
}
|
||||
|
||||
animation_create_rectangle :: proc(rectangle: ^AnimationData_Rectangle) -> AnimationInterface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue