"""
Implementation of an OmniGraph node that decomposes a double3 into its comonents
"""


class OgnDecomposeDouble3:
    @staticmethod
    def compute(db):
        in_double3 = db.inputs.double3
        db.outputs.x = in_double3[0]
        db.outputs.y = in_double3[1]
        db.outputs.z = in_double3[2]
        return True
