forked from blender/blender
MaterialX: code improvements shader modes. #35
@ -327,6 +327,7 @@ NodeItem NodeItem::dotproduct(const NodeItem &other) const
|
||||
|
||||
NodeItem item1 = to_vector();
|
||||
NodeItem item2 = other.to_vector();
|
||||
cast_types(item1, item2);
|
||||
return create_node("dotproduct", Type::Float, {{"in1", item1}, {"in2", item2}});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user