///
/// MotionVector.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

import NitroModules

/**
 * Represents an instance of `MotionVector`, backed by a C++ struct.
 */
public typealias MotionVector = margelo.nitro.one.MotionVector

public extension MotionVector {
  private typealias bridge = margelo.nitro.one.bridge.swift

  /**
   * Create a new instance of `MotionVector`.
   */
  init(x: Double, y: Double, z: Double) {
    self.init(x, y, z)
  }

  @inline(__always)
  var x: Double {
    return self.__x
  }

  @inline(__always)
  var y: Double {
    return self.__y
  }

  @inline(__always)
  var z: Double {
    return self.__z
  }
}
