taichi-dev / taichi_three

A soft renderer based on Taichi (work in progress)
https://t3.142857.red/
MIT License
223 stars 24 forks source link

add np.float32 to support metal #36

Closed Jack12xl closed 3 years ago

Jack12xl commented 3 years ago

Numpy would automatically set default dtype = np.float64

Jack12xl commented 3 years ago

I guess not. From this issue. I guess maybe we could only set the dtype manually?