Class VectorFunctions

java.lang.Object
de.mirkosertic.bytecoder.api.opencl.VectorFunctions

public class VectorFunctions extends Object
  • Constructor Details

    • VectorFunctions

      public VectorFunctions()
  • Method Details

    • normalize

      public static Float2 normalize(Float2 aVector)
    • normalize

      public static Float4 normalize(Float4 aVector)
    • length

      public static float length(Float2 aVector)
    • length

      public static float length(Float4 aVector)
    • cross

      public static Float2 cross(Float2 aVector, Float2 aOtherVector)
    • cross

      public static Float4 cross(Float4 aVector, Float4 aOtherVector)
    • dot

      public static float dot(Float2 aVector, Float2 aOtherVector)
    • dot

      public static float dot(Float4 aVector, Float4 aOtherVector)