mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-31 02:07:21 +00:00
Add more advanced math nodes (#1383)
Added nodes for the following operations: * Floor * Ceil * Round * Absolute Value * Logarithm * Natural Logarithm * sin * cos * tan
This commit is contained in:
parent
2412a3def6
commit
7558088727
4 changed files with 176 additions and 0 deletions
|
@ -227,6 +227,15 @@ fn node_registry() -> HashMap<NodeIdentifier, HashMap<NodeIOTypes, NodeConstruct
|
|||
register_node!(graphene_core::ops::ExponentParameterNode<_>, input: f32, params: [f32]),
|
||||
register_node!(graphene_core::ops::ExponentParameterNode<_>, input: &f32, params: [f32]),
|
||||
register_node!(graphene_core::ops::ExponentParameterNode<_>, input: f32, params: [&f32]),
|
||||
register_node!(graphene_core::ops::FloorNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::CeilNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::RoundNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::AbsoluteNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::LogParameterNode<_>, input: f32, params: [f32]),
|
||||
register_node!(graphene_core::ops::NaturalLogNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::SineNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::CosineNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::TangentNode, input: f32, params: []),
|
||||
register_node!(graphene_core::ops::MaxParameterNode<_>, input: u32, params: [u32]),
|
||||
register_node!(graphene_core::ops::MaxParameterNode<_>, input: f32, params: [f32]),
|
||||
register_node!(graphene_core::ops::MinParameterNode<_>, input: u32, params: [u32]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue