Closed Robadob closed 1 year ago
import pyflamegpu import typing TEST: typing.Final = 5 TEST2: typing.Final = 12 TEST2: typing.Final = math.sqrt(12 * 36) TEST3: pyflamegpu.constant = 12 TEST4: int = 14
converts to
constexpr auto TEST = 5; constexpr auto TEST2 = 20.784609690826528; constexpr auto TEST3 = 12;
todo
codegen()
constexpr
inspect.get_attributes()
inspect.get_members()
Closes #1144
converts to
todo
codegen()
to make global varsconstexpr
? (if a user passes in a string)inspect.get_attributes()
(Its python 3.10+, can be emulated viainspect.get_members()
)Closes #1144