import { TgdCodeFunctions } from "../shader";
/**
 * Convert uv coords ([0.0, +1.0]) into xy coords ([-1.0, +1.0]).
 * Requires uniform `uniAspectRatio`.
 */
export declare function tgdCodeFunction_uv2xy(options?: Partial<{
    name: string;
    uniAspectRatio: string;
}>): TgdCodeFunctions;
/**
 * Convert xy coords ([-1.0, +1.0]) into uv coords ([0.0, +1.0]) .
 * Requires uniform `uniAspectRatioInverse`.
 */
export declare function tgdCodeFunction_xy2uv(options?: Partial<{
    name: string;
    uniAspectRatioInverse: string;
}>): TgdCodeFunctions;
/**
 * Convert othogonal coords into polar coords.
 * The function will return a vec2 with the length as first component,
 * and the angle as second.
 */
export declare function tgdCodeFunction_xy2polar(options?: {
    name?: string;
}): TgdCodeFunctions;
/**
 * Reverse function of `xy2polar`.
 * @see tgdCodeFunction_xy2polar
 */
export declare function tgdCodeFunction_polar2xy(options?: {
    name?: string;
}): TgdCodeFunctions;
/**
 * Reverse function of `xy2polar`.
 * Requires uniform `uniAspectRatioInverse`.
 * @see tgdCodeFunction_xy2polar
 */
export declare function tgdCodeFunction_polar2uv(options?: Partial<{
    name: string;
    uniAspectRatioInverse: string;
}>): TgdCodeFunctions;
/**
 * The result of the function is a vec2 with:
 * * x: the length
 * * y: the angle
 */
export declare function tgdCodeFunction_uv2polar(options?: Partial<{
    name: string;
    uniAspectRatio: string;
}>): TgdCodeFunctions;
//# sourceMappingURL=coords.d.ts.map