太极语法文档数据类型 | Taichi Docs
里最后有一句话:
You can create vectors, matrices, and structs using GLSL-like broadcast syntax because their shapes are already known.
没看懂,比如这里提到‘broadcast syntax’。 有大佬可以用代码举例演示一下么?谢谢啦
太极语法文档数据类型 | Taichi Docs
里最后有一句话:
You can create vectors, matrices, and structs using GLSL-like broadcast syntax because their shapes are already known.
没看懂,比如这里提到‘broadcast syntax’。 有大佬可以用代码举例演示一下么?谢谢啦