User Tools

Site Tools


4rpl:commands:v2

Index
Vectors

V2

V2(2 3) ->vector

Description

Pops two items from the stack, treats them as float, and creates a new Vector and pushes it to the stack. The two values popped from the stack occupy the x and y positions in the new vector. The z and w positions will be zero.

Examples

V2(2 3) ->vector
trace(<-vector)

Index

4rpl/commands/v2.txt · Last modified: 2021/03/05 10:12 by Karsten75