Inscrit le: 04 Nov 2017
Moyenne de points: 1,35
|Posté le: Jeu 28 Déc - 12:32 (2017) Sujet du message: Need help with Native Extensions
For me working with lua from c is some king of magic. So i need some help :grinning:
I need to iterate a color matrix and change value in stream.
colors is matrix for colors (colors[y][x] return color for pixel at (x,y)) The problem that i don’t understand how to get value from table that is in another table.
I try start with small function.This function should convert lua array to c++ array. vmath.vector3 should be converted to int color.But i have no idea how to get x,y,z from vmath.vector3(), i get only 0.0 value
I didn't find the right solution from the Internet.
SaaS Product Marketing Examples