VU-Docs icon indicating copy to clipboard operation
VU-Docs copied to clipboard

Add example for `LinearTransform(data: table)`

Open FlashHit opened this issue 3 years ago • 0 comments
trafficstars

https://docs.veniceunleashed.net/vext/ref/shared/type/lineartransform/#constructor-3

same for Vec2, Vec3, Vec4 & AxisAlignedBox

Seems to work like this:

local s_TableForLT = { 
    left = {x = 2.0, y = 3.0, z = 4.0}, 
    up = {x = 2.1, y = 3.2, z = 4.3}, 
    forward = {x = 2.4, y = 3.5, z = 4.6}, 
    trans = {x = 12.0, y = 13.0, z = 14.0} 
}

FlashHit avatar Dec 15 '21 19:12 FlashHit