-
Notifications
You must be signed in to change notification settings - Fork 334
e2 docs matrix
Creates a 2x2 zero matrix (1 ops)
Creates a matrix with vectors by columns (5 ops)
Creates a 2x2 matrix with 2D vectors by rows (5 ops)
Creates a matrix with values in order (i.j) of: (1,1), (1,2), (2,1), (2,2) (5 ops)
Converts a 3x3 matrix into a 2x2 matrix - all (i,3) and (3,j) are omitted (5 ops)
Creates a 2x2 identity matrix (5 ops)
Returns the row as a 2D vector (5 ops)
Returns the column as a 2D vector (5 ops)
Sets the values of a row. The first argument given specifies the row(j), the following arguments are the values 1j, 2j (5 ops)
Sets the values of a row. The first argument given specifies the row, the vector contains the values to set (5 ops)
Sets the values of a column. The first argument given specifies the column(i), the following arguments are the values i1, i2 (5 ops)
Sets the values of a column. The first argument given specifies the column, the vector contains the values to set (5 ops)
Swaps rows (5 ops)
Swaps columns (5 ops)
Returns the element with indices (i,j) (5 ops)
Sets an element's value. The first two arguments specify the indices (i,j), the third argument is the value to set it to (5 ops)
Swaps two elements, specified by indices ( i1, j1, i2, j2 ) (5 ops)
Returns a 2D vector comprising the elements along the leading diagonal (5 ops)
Returns the trace of a matrix (5 ops)
Returns the determinant of a matrix (Does not work for 4x4 matrices) (5 ops)
Returns the transpose of a matrix (5 ops)
Returns the adjugate of a matrix (Does not work for 4x4 matrices) (5 ops)
Creates a 3x3 zero matrix (1 ops)
Creates a matrix with vectors by columns (5 ops)
Creates a 3x3 matrix with vectors by rows (5 ops)
Creates a matrix with 9 values in the following order (i.j): (1,1), (1,2), (1,3), (2,1) etc (5 ops)
Converts a 2x2 matrix into a 3x3 matrix - all (i,3) and (3,j) are filled with 0's (5 ops)
Creates a 3x3 identity matrix (5 ops)
Returns the row as a vector (5 ops)
Returns the column as a vector (5 ops)
Sets the values of a row. The first argument given specifies the row(j), the following arguments are the values 1j, 2j, 3j (5 ops)
Sets the values of a row. The first argument given specifies the row, the vector contains the values to set (5 ops)
Sets the values of a column. The first argument given specifies the column(i), the following arguments are the values i1, i2, i3 (5 ops)
Sets the values of a column. The first argument given specifies the column, the vector contains the values to set (5 ops)
Swaps the two columns specified (5 ops)
Returns the element with indices (i,j) (5 ops)
Sets an element's value. The first two arguments specify the indices (i,j), the third argument is the value to set it to (5 ops)
Swaps two elements, specified by indices ( i1, j1, i2, j2 ) (5 ops)
Sets the elements of the leading diagonal from the components of a vector (5 ops)
Sets the elements of the leading diagonal (5 ops)
Returns a vector comprising the elements along the leading diagonal (5 ops)
Returns the trace of a matrix (5 ops)
Returns the determinant of a matrix (Does not work for 4x4 matrices) (5 ops)
Returns the transpose of a matrix (5 ops)
Returns the adjugate of a matrix (Does not work for 4x4 matrices) (5 ops)
Creates a reference frame matrix from an entity's local direction vectors by columns in the order ( x, y, z ) (5 ops)
Returns the local x direction vector from a 3x3 coordinate reference frame matrix ( same as M:column(1) ) (5 ops)
Returns the local y direction vector from a 3x3 coordinate reference frame matrix ( same as M:column(2) ) (5 ops)
Returns the local z direction vector from a 3x3 coordinate reference frame matrix ( same as M:column(3) ) (5 ops)
Returns a 3x3 reference frame matrix as described by the angle A. Multiplying by this matrix will be the same as rotating by the given angle (5 ops)
Returns an angle derived from a 3x3 rotation matrix (5 ops)
Creates a 3x3 rotation matrix, where the vector is the axis of rotation, and the number is the angle (anti-clockwise) in degrees. Example*: to rotate a vector (7,8,9) by 50 degrees about the axis (1,1,0), you would write V = mRotation(vec(1,1,0), 50) * vec(7,8,9) (5 ops)
Creates a 4x4 zero matrix (1 ops)
Creates a matrix with vectors by columns (5 ops)
Creates a 4x4 matrix with 4D vectors by rows (5 ops)
Creates a matrix with 16 values in the following order (i.j): (1,1), (1,2), (1,3), (1,4), (2,1) etc (5 ops)
Converts a 2x2 matrix into a 4x4 matrix - all (i,3), (i,4), (3,j) and (4,j) are filled with 0's (5 ops)
Constructs a 4x4 matrix from four 2x2 matrices (5 ops)
Converts a 3x3 matrix into a 4x4 matrix - all (i,4) and (4,j) are filled with 0's (5 ops)
Creates a 4x4 identity matrix (5 ops)
Returns the row as a 4D vector (5 ops)
Returns the column as a 4D vector (5 ops)
Sets the values of a row. The first argument given specifies the row(j), the following arguments are the values 1j, 2j, 3j, 4j (5 ops)
Sets the values of a row. The first argument given specifies the row, the vector contains the values to set (5 ops)
Sets the values of a column. The first argument given specifies the column(i), the following arguments are the values i1, i2, i3, i4 (5 ops)
Sets the values of a column. The first argument given specifies the column, the vector contains the values to set (5 ops)
Swaps the two rows specified (5 ops)
Swaps the two columns specified (5 ops)
Returns the element with indices (i,j) (5 ops)
Sets an element's value. The first two arguments specify the indices (i,j), the third argument is the value to set it to (5 ops)
Swaps two elements, specified by indices ( i1, j1, i2, j2 ) (5 ops)
Sets the elements of the leading diagonal from the components of a vector (5 ops)
Sets the elements of the leading diagonal (5 ops)
Returns a 4D vector comprising the elements along the leading diagonal (5 ops)
Returns the trace of a matrix (5 ops)
Returns the transpose of a matrix (5 ops)
Finds the matrix inverse of a standard 4x4 affine transformation matrix ( the type created by matrix4(E) ). This should only be used on matrices with a particular format, where the top left 3x3 specifies rotation, the rightmost 3-column specifies translation, and the bottom row is (0,0,0,1) (5 ops)
Creates a 4x4 reference frame matrix from an entity's local direction vectors by columns in the order (x, y, z, pos), with the bottom row (0,0,0,1) (5 ops)
Returns the local x direction vector from a 4x4 coordinate reference frame matrix (5 ops)
Returns the local y direction vector from a 4x4 coordinate reference frame matrix (5 ops)
Returns the local z direction vector from a 4x4 coordinate reference frame matrix (5 ops)
Returns the position vector from a 4x4 coordinate reference frame matrix (5 ops)
Returns a 4x4 reference frame matrix as described by the angle A. Multiplying by this matrix will be the same as rotating by the given angle (5 ops)
Returns a 4x4 reference frame matrix as described by the angle A and the position V. Multiplying by this matrix will be the same as rotating by the given angle and offsetting by the given vector (5 ops)
Please do not alter the e2 docs ...
pages manually.
They are autogenerated from the E2Helper. In the future, this will hopefully be its own dedicated website or tool.
Basic Features: core, debug, number, selfaware,
string, timer
🌎 World: angle, color, find, ranger, sound,
🔣 Math: bitwise, complex, matrix, quaternion, vector, vector2/4
📦 Entities: bone, constraint, egp, entity, hologram, npc
👨 Players: chat, console, player, weapon
📊 Data storage: array, files, globalvars, serialization, table
💬 Communication: datasignal, http, signal, wirelink,
❓ Informational: gametick, serverinfo, steamidconv, unitconv
Disabled by default: constraintcore, effects, propcore, remoteupload, wiring
Wire-Extras (repo): camera, ftrace, holoanim, light, stcontrol, tracesystem
- Home 🏠
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Events 🌟 (new!)
Click To Expand
- 🟥 SPU
- 🟥 Address Bus
- 🟥 Extended Bus
- 🟥 Plug/Socket
- 🟥 Port
- 🟥 Transfer Bus
- 🟩 GPU
- 🟥 Dynamic Memory
- 🟥 Flash EEPROM
- 🟥 ROM
- 🟧 Beacon Sensor
- 🟧 Locator
- 🟧 Target Finder
- 🟧 Waypoint
- 🟥 XYZ Beacon
- 🟩 CPU
- 🟩 Expression 2
- 🟩 Gates
- 🟥 PID
- 🟧 CD Disk
- 🟥 CD Ray
- 🟧 DHDD
- 🟥 Keycard
- 🟥 RAM-card
- 🟧 Satellite Dish
- 🟧 Store
- 🟧 Transferer
- 🟥 Wired Wirer
- 🟧 Adv Entity Marker
- 🟧 Damage Detector
- 🟧 Entity Marker
- 🟧 GPS
- 🟧 Gyroscope
- 🟥 HighSpeed Ranger
- 🟧 Laser Pointer Receiver
- 🟥 Microphone
- 🟧 Ranger
- 🟧 Speedometer
- 🟧 Water Sensor
- 🟧 7 Segment Display
- 🟥 Adv. Hud Indicator
- 🟧 Console Screen
- 🟧 Control Panel
- 🟧 Digital Screen
- 🟧 EGP v3
- 🟧 Fix RenderTargets
- 🟥 GPULib Switcher
- 🟧 Hud Indicator
- 🟧 Indicator
- 🟧 Lamp
- 🟧 Light
- 🟧 Oscilloscope
- 🟧 Pixel
- 🟧 Screen
- 🟧 Sound Emitter
- 🟧 Text Screen
- 🟩 Cam Controller
- 🟧 Colorer
- 🟧 FX Emitter
- 🟧 HighSpeed Holoemitter
- 🟧 HoloEmitter
- 🟧 HoloGrid
- 🟥 Interactable Holography Emitter
- 🟥 Materializer
- 🟥 Painter
- 🟧 Adv. Input
- 🟧 Button
- 🟧 Constant Value
- 🟥 Door Controller
- 🟧 Dual Input
- 🟧 Dynamic Button
- 🟧 Eye Pod
- 🟧 Graphics Tablet
- 🟧 Keyboard
- 🟥 Lever
- 🟧 Numpad
- 🟧 Numpad Input
- 🟧 Numpad Output
- 🟧 Plug
- 🟧 Pod Controller
- 🟧 Radio
- 🟧 Relay
- 🟧 Text Receiver
- 🟧 Two-way Radio
- 🟧 Vehicle Controller
- 🟥 Door
- 🟥 Adv. Dupe. Teleporter
- 🟥 Buoyancy
- 🟧 Clutch
- 🟧 Detonator
- 🟧 Explosives
- 🟧 Explosives (Simple)
- 🟥 Forcer
- 🟩 Freezer
- 🟧 Gimbal (Facer)
- 🟧 Grabber
- 🟧 Hoverball
- 🟧 Hoverdrive Controller
- 🟥 Hydraulic
- 🟧 Igniter
- 🟧 Nailer
- 🟩 Prop Spawner
- 🟥 Servo
- 🟥 Simple Servo
- 🟧 Thruster
- 🟥 Touchplate
- 🟥 Trail
- 🟩 Turret
- 🟩 User
- 🟥 Vector Thruster
- 🟥 Vehicle Exit Point
- 🟧 Weight (Adjustable)
- 🟧 Weld/Constraint Latch
- 🟥 Wheel
- 🟥 Wire Magnet
- 🟥 Wired Npc Controller
- 🟧 Debugger
- 🟥 GUI Wiring
- 🟥 Multi Wire
- 🟧 Namer
- 🟥 Simulate Data
- 🟩 Wiring
- 🟥 Beam Reader
- 🟥 Implanter
- 🟥 Reader
- 🟥 Target Filter
- 🟥 User Reader
Gates 🚥
Click To Expand
TBD