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.30
Version published
Weekly downloads
518
-16.18%
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

mutatexy

Accessors

[0][1]immutablelength
magnitudemutable

Static properties

uprightdownleft
zeroonepositiveInfinitynegativeInfinity

Methods

addclampMagnitudecloneisZeroVector
normalizenormalizedrescalerotate
rotateDegrotate90rotate180rotate270
scalesetsetArraysub

Static methods

addangleangleDegangleRight
angleRightDegcrossdistancedivide
dotfromArraylerplerpRot
multiplysignedAnglesignedAngleDegsub

Equinor Logo

Keywords

videx

FAQs

Package last updated on 08 Nov 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