Socket
Book a DemoInstallSign in
Socket

@equinor/videx-vector2

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/videx-vector2

Vector2 class library written in javascript.

Source
npmnpm
Version
1.0.44
Version published
Weekly downloads
379
-39.07%
Maintainers
3
Weekly downloads
 
Created
Source

Videx Vector2

Vector2 class library written in javascript.

  • GitHub Repository
  • Documentation

Installation

npm install --save @equinor/videx-vector2

Usage

// ES6
import Vector2 from '@equinor/videx-vector2';

// ObservableHQ
Vector2 = require('@equinor/videx-vector2@X.X.X');

Where X.X.X is desired version number.

Available functions

Properties

[0][1]lengthmutate

Accessors

xyimmutablemagnitude
mutable

Static properties

uprightdownleft
zeroonepositiveInfinitynegativeInfinity

Methods

addclampMagnitudecloneisZeroVector
modifynormalizenormalizedrescale
rotaterotateDegrotate90rotate180
rotate270scalesetsub
subFromtoArray

Static methods

addangleangleDegangleRight
angleRightDegcrossdistancedivide
dotisZeroVectorlerplerpRot
multiplysignedAnglesignedAngleDegsub

Equinor Logo

Keywords

videx

FAQs

Package last updated on 06 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts