Skip to content

Commit fe089bc

Browse files
committed
doc update
1 parent 598739d commit fe089bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ $ clib install glisy/ease --save
1414
```c
1515
#include <glisy/ease.h>
1616
...
17+
float time = glfwGetTime();
18+
vec3 from = {0, 0, 0};
19+
vec3 to = {3, 3, 3};
20+
float from.x = ease_in_cubic(time, from.x, 1, to.x);
21+
float from.y = ease_in_cubic(time, from.y, 1, to.y);
22+
float from.z = ease_in_cubic(time, from.z, 1, to.z);
1723
```
1824
1925
## api

0 commit comments

Comments
 (0)