The OpenD Programming Language

float2

MMX-like SIMD types

pure nothrow @nogc
static if(MMXSizedVectorsAreEmulated)
struct float2 {
float[2] array;
}

Mixed In Members

From mixin VectorOps!(float2, float[2])

opCast
VecDest opCast()

We can't support implicit conversion but do support explicit casting. "Vector types of the same size can be implicitly converted among each other." Casting to another vector type is always just a raw copy.

Meta