X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexturecube.h;h=b15c1cff2af5fcff564d6f70e754b0282d4ff4fe;hb=e003d7a1497dad3b13e4e88e681f8fa2afc40c83;hp=c8e18a11df59adfc123db32460999a5ad90acba8;hpb=2be605933f62521bb22780256386a14b371c8b17;p=libs%2Fgl.git diff --git a/source/texturecube.h b/source/texturecube.h index c8e18a11..b15c1cff 100644 --- a/source/texturecube.h +++ b/source/texturecube.h @@ -21,8 +21,9 @@ enum TextureCubeFace /** Cube map texture, consisting of six square faces. All of the faces must be of the same size. A cube map texture is addressed by three-dimensional texture -coordinates. The face is first selected according to the largest coordinate, -and the remaining two coordinates are used to sample the face image. +coordinates, with a principal range of [-1, 1]. The face is first selected +according to the largest coordinate, and the remaining two coordinates are used +to sample the face image. All faces of a cube map texture must be allocated for it to be usable.