Now I'm confused. You can assign types in EDL? What about template classes? Is this valid:
// EDL Script for 'object0 initialization'
// Lets just say the 'vec3' class is implemented and setup to compile in ENIGMA var forward = vec3<double>(5.5, 0, 44.7) var position = vec3<double>(5.5, 0, 44.7)
// EDL Script for 'object0 update'
if keyboard_key_pressed(ord('W')) { position += forward }
I would test all this without using any graphics but I can't get ENIGMA to compile or it just takes too long I don't know. It seems like ENIGMA is getting stuck on my PC when sending the object data.
|