CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
easing_functions.cppm
Go to the documentation of this file.
1
//
2
// Created by castle on 2/21/25.
3
//
4
5
export
module
cydui.easing_functions
;
6
7
import
std;
8
9
export
namespace
cydui
{
10
using
float_type
= float;
11
}
12
13
export
namespace
cydui::easing
{
14
using
function_type
= std::function<
float_type
(
const
float_type
&)>;
15
16
constexpr
float_type
linear
(
const
float_type
& t) {
return
t; }
17
}
cydui.easing_functions
cydui::easing
Definition
easing_functions.cppm:13
cydui::easing::linear
constexpr float_type linear(const float_type &t)
Definition
easing_functions.cppm:16
cydui::easing::function_type
std::function< float_type(const float_type &)> function_type
Definition
easing_functions.cppm:14
cydui
Definition
animations.cppm:32
cydui::float_type
float float_type
Definition
easing_functions.cppm:10
include
cyd_ui
animations
easing
easing_functions.cppm
Generated by
1.13.2