logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Geometric_Built-In_Functions - Click an item in the table below for details about that function.

Authors

TheKhronosGroup

Name

       Geometric_Built-In_Functions - Click an item in the table below for details about that function.

       ┌──────────────────────┬────────────────────────┐
       │ cross(3clc)          │ Cross product          │
       ├──────────────────────┼────────────────────────┤
       │ dot(3clc)            │ Dot product            │
       ├──────────────────────┼────────────────────────┤
       │ distance(3clc)       │ Vector distance        │
       ├──────────────────────┼────────────────────────┤
       │ length(3clc)         │ Vector length          │
       ├──────────────────────┼────────────────────────┤
       │ normalize(3clc)      │ Normal vector length 1 │
       ├──────────────────────┼────────────────────────┤
       │ fast_distance(3clc)  │ Vector distance        │
       ├──────────────────────┼────────────────────────┤
       │ fast_length(3clc)    │ Vector length          │
       ├──────────────────────┼────────────────────────┤
       │ fast_normalize(3clc) │ Normal vector length 1 │
       └──────────────────────┴────────────────────────┘

Notes

        1. OpenCL Specification
           page 262, section 6.12.5 - Geometric Functions

The Khronos Group                                  11/18/2024                           GEOMETRICBUILT-IN(3clc)

Specification

OpenCLSpecification[1]

See Also