taichi
taichi copied to clipboard
how to pass field parameters
there is such a variable:
var = ti.Vector.field(vertices.shape[1], dtype=ti.cfg.default_fp, shape=vertices.shape[0])
var.from_numpy(vertices)
How to define a kernel function parameter type to receive this variable as a parameter?
ti.template()