mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 20:34:58 +00:00
add bezier helpers
This commit is contained in:
15
src/bezier.c
Normal file
15
src/bezier.c
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c), Recep Aslantas.
|
||||
*
|
||||
* MIT License (MIT), http://opensource.org/licenses/MIT
|
||||
* Full license can be found in the LICENSE file
|
||||
*/
|
||||
|
||||
#include "../include/cglm/cglm.h"
|
||||
#include "../include/cglm/call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
float
|
||||
glmc_bezier(float s, float p0, float c0, float c1, float p1) {
|
||||
return glm_bezier(s, p0, c0, c1, p1);
|
||||
}
|
||||
Reference in New Issue
Block a user