Procs
proc bvec2(v`gensym0: bool): BVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 with the same value for both components Source Edit
proc bvec2(v`gensym0: BVec3): BVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 from first two components of Vec3 Source Edit
proc bvec3(v`gensym5: bool): BVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 with the same value for all components Source Edit
proc bvec3(v`gensym5: BVec2; z`gensym5: bool): BVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 from Vec2 and a z component Source Edit
proc bvec4(v`gensym11: bool): BVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 with the same value for all components Source Edit
proc bvec4(v`gensym11: BVec2; z`gensym11, w`gensym11: bool): BVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec2 and z, w components Source Edit
proc bvec4(v`gensym11: BVec3; w`gensym11: bool): BVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec3 and w component Source Edit
proc dvec2(v`gensym84: DVec3): DVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 from first two components of Vec3 Source Edit
proc dvec2(v`gensym84: DVec4): DVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 from first two components of Vec4 Source Edit
proc dvec3(v`gensym89: DVec2; z`gensym89: float64): DVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 from Vec2 and a z component Source Edit
proc dvec3(v`gensym89: DVec4): DVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 from first three components of Vec4 Source Edit
proc dvec4(v`gensym95: DVec2; z`gensym95, w`gensym95: float64): DVec4 {. ...raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec2 and z, w components Source Edit
proc dvec4(v`gensym95: DVec3; w`gensym95: float64): DVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec3 and w component Source Edit
proc dvec4(v`gensym95: float64): DVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 with the same value for all components Source Edit
proc ivec2(v`gensym21: int32): IVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 with the same value for both components Source Edit
proc ivec2(v`gensym21: IVec3): IVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 from first two components of Vec3 Source Edit
proc ivec3(v`gensym26: int32): IVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 with the same value for all components Source Edit
proc ivec3(v`gensym26: IVec2; z`gensym26: int32): IVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 from Vec2 and a z component Source Edit
proc ivec4(v`gensym32: int32): IVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 with the same value for all components Source Edit
proc ivec4(v`gensym32: IVec2; z`gensym32, w`gensym32: int32): IVec4 {. ...raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec2 and z, w components Source Edit
proc ivec4(v`gensym32: IVec3; w`gensym32: int32): IVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec3 and w component Source Edit
proc uvec2(v`gensym42: uint32): UVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 with the same value for both components Source Edit
proc uvec2(v`gensym42: UVec3): UVec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 from first two components of Vec3 Source Edit
proc uvec3(v`gensym47: uint32): UVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 with the same value for all components Source Edit
proc uvec3(v`gensym47: UVec2; z`gensym47: uint32): UVec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 from Vec2 and a z component Source Edit
proc uvec4(v`gensym53: uint32): UVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 with the same value for all components Source Edit
proc uvec4(v`gensym53: UVec2; z`gensym53, w`gensym53: uint32): UVec4 {. ...raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec2 and z, w components Source Edit
proc uvec4(v`gensym53: UVec3; w`gensym53: uint32): UVec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec3 and w component Source Edit
proc vec2(v`gensym63: float32): Vec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 with the same value for both components Source Edit
proc vec2(v`gensym63: Vec3): Vec2 {....raises: [], tags: [], forbids: [].}
- Constructs Vec2 from first two components of Vec3 Source Edit
proc vec3(v`gensym68: float32): Vec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 with the same value for all components Source Edit
proc vec3(v`gensym68: Vec2; z`gensym68: float32): Vec3 {....raises: [], tags: [], forbids: [].}
- Constructs Vec3 from Vec2 and a z component Source Edit
proc vec4(v`gensym74: float32): Vec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 with the same value for all components Source Edit
proc vec4(v`gensym74: Vec2; z`gensym74, w`gensym74: float32): Vec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec2 and z, w components Source Edit
proc vec4(v`gensym74: Vec3; w`gensym74: float32): Vec4 {....raises: [], tags: [], forbids: [].}
- Constructs Vec4 from Vec3 and w component Source Edit
Templates
template defineVec2Constructors(Vec2Type, Vec3Type, Vec4Type: typedesc; baseType: typedesc; constructorName: untyped)
- Source Edit
template defineVec3Constructors(Vec2Type, Vec3Type, Vec4Type: typedesc; baseType: typedesc; constructorName: untyped)
- Source Edit
template defineVec4Constructors(Vec2Type, Vec3Type, Vec4Type: typedesc; baseType: typedesc; constructorName: untyped)
- Source Edit