BNBVec3

Objective-C

@interface BNBVec3 : NSObject
- (nonnull instancetype)initWithX:(float)x
                                y:(float)y
                                z:(float)z;
+ (nonnull instancetype)vec3WithX:(float)x
                                y:(float)y
                                z:(float)z;

@property (nonatomic, readonly) float x;

@property (nonatomic, readonly) float y;

@property (nonatomic, readonly) float z;

@end

Swift

class BNBVec3 : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithX:(float)x
                                    y:(float)y
                                    z:(float)z;

    Swift

    init(x: Float, y: Float, z: Float)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)vec3WithX:(float)x
                                    y:(float)y
                                    z:(float)z;
  • x

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float x

    Swift

    var x: Float { get }
  • y

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float y

    Swift

    var y: Float { get }
  • z

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float z

    Swift

    var z: Float { get }