| 1234567891011121314151617181920212223242526272829303132333435 |
- return {
- summary = 'Divides the vector by a vector or a number.',
- description = 'Divides the vector by a vector or a number.',
- arguments = {
- u = {
- type = 'Vec4',
- description = 'The other vector to divide the components by.'
- },
- x = {
- type = 'number',
- description = 'The number to divide each component by.'
- }
- },
- returns = {
- v = {
- type = 'Vec4',
- description = 'The original vector.'
- }
- },
- variants = {
- {
- arguments = { 'u' },
- returns = { 'v' }
- },
- {
- arguments = { 'x' },
- returns = { 'v' }
- }
- },
- related = {
- 'Vec4:add',
- 'Vec4:sub',
- 'Vec4:mul'
- }
- }
|