- Created FloatToIntNode for converting float values to integers with rounding options. - Created IntToFloatNode for converting integer values to floats. - Introduced NODE_CLASS_MAPPINGS to aggregate conversion nodes. - Added .gitignore to exclude __pycache__ directories.
6 lines
277 B
Python
6 lines
277 B
Python
from .int_to_float_node import NODE_CLASS_MAPPINGS as INT_TO_FLOAT_MAPPINGS
|
|
from .float_to_int_node import NODE_CLASS_MAPPINGS as FLOAT_TO_INT_MAPPINGS
|
|
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_CLASS_MAPPINGS.update(INT_TO_FLOAT_MAPPINGS)
|
|
NODE_CLASS_MAPPINGS.update(FLOAT_TO_INT_MAPPINGS) |