Skip to content

Latest commit

 

History

History
178 lines (142 loc) · 1.98 KB

File metadata and controls

178 lines (142 loc) · 1.98 KB

dot

dot returns the dot product of two vectors, x and y. i.e., ( x[0]*y[0] + x[1]*y[1] + ... )

dot(float,float)

Parameters

x Type: float y Type: float

Return Value

Type: float

JSON
{
  "Type": "dot(float,float)",
  "Name": "dot(float,float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "float"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "float"
    }
  ]
}

dot(vec2,vec2)

Parameters

x Type: vec2 y Type: vec2

Return Value

Type: float

JSON
{
  "Type": "dot(vec2,vec2)",
  "Name": "dot(vec2,vec2)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec2"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "vec2"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "float"
    }
  ]
}

dot(vec3,vec3)

Parameters

x Type: vec3 y Type: vec3

Return Value

Type: float

JSON
{
  "Type": "dot(vec3,vec3)",
  "Name": "dot(vec3,vec3)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec3"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "vec3"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "float"
    }
  ]
}

dot(vec4,vec4)

Parameters

x Type: vec4 y Type: vec4

Return Value

Type: float

JSON
{
  "Type": "dot(vec4,vec4)",
  "Name": "dot(vec4,vec4)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec4"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "vec4"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "float"
    }
  ]
}