Vec3

Undocumented

  • Create a Vec3 using the first 3 components of a Vec4.

    Declaration

    Swift

    public init(vec4: Vec4)

    Parameters

    vec4

    The vector to be used for the first 3 components.

    Return Value

    A new Vec3.