14:42:33mfianoWith the l-t-v trick, do I still have to be careful about values escaping the function as with DX?
14:43:21Shinmerathey may escape, but since they're on the heap it doesn't matter as long as you know you're not gonna use them in the same place. The make-hit thing for instance obviously escapes, and I have to take care that I don't retain the instance for longer than reasonable.
14:43:31ShinmeraIt's a bit spaghetti because of that of course, but typically manageable.
14:45:20mfianoI basically do something liek (let ((a (make-identity-mat3)) (b (make-identity-mat3)) .... (values a b)), in a function that is called each frame for each object, and the calling function is just a boolean predicate