X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexturecube.h;h=b15c1cff2af5fcff564d6f70e754b0282d4ff4fe;hb=6aad00e0661dd515c0bc5a6ca05215bf6718bc75;hp=c8e18a11df59adfc123db32460999a5ad90acba8;hpb=70153a4e27eeebc7e0a91de122f45eff6296cb71;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.