Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

dot()

Purpose

Find the dot product of two vectors

Description

Calculate the dot product (the scalar value from multiplication) of two vectors

Syntax

scalar = dot( vector1, vector2 )

Arguments

vector1 The first vector (x,y,z)

vector2 The second vector (x,y,z)

scalar The resulting scalar value

Example

vector1 = { 2, 3, 4 }
vector2 = { 5, 6, 7 }
scalar = dot( vector1, vector2 )
print( scalar )
update()
sleep( 3 )

Associated Commands

cross(), length(), normalize(), reflect(), refract()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.