///
/// BoundingBox.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 `BoundingBox`, backed by a C++ struct.
 */
public typealias BoundingBox = margelo.nitro.camera.BoundingBox

public extension BoundingBox {
  private typealias bridge = margelo.nitro.camera.bridge.swift

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

  @inline(__always)
  var x: Double {
    return self.__x
  }
  
  @inline(__always)
  var y: Double {
    return self.__y
  }
  
  @inline(__always)
  var width: Double {
    return self.__width
  }
  
  @inline(__always)
  var height: Double {
    return self.__height
  }
}
