UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

24 lines 865 B
import { TgdCodeFunctions } from "../shader"; /** * Transform a vertex coords from world space to camera space. */ export declare function tgdCodeFunction_vertexFromWorldToCamera({ name, uniModelViewMatrix, }?: { name?: string; uniModelViewMatrix?: string; }): TgdCodeFunctions; /** * Transform a mormal coords from world space to camera space. */ export declare function tgdCodeFunction_normalFromWorldToCamera({ name, uniModelViewMatrix, }?: { name?: string; uniModelViewMatrix?: string; }): TgdCodeFunctions; /** * Transform a vertex coords from world space to camera space. */ export declare function tgdCodeFunction_vertexFromWorldToScreen({ name, uniModelViewMatrix, uniProjectionMatrix, }?: { name?: string; uniModelViewMatrix?: string; uniProjectionMatrix?: string; }): TgdCodeFunctions; //# sourceMappingURL=space.d.ts.map