(self)
| 88 | |
| 89 | class GuiTest(Scene): |
| 90 | def construct(self): |
| 91 | mesh = get_plane_mesh(self.renderer.context) |
| 92 | # mesh.attributes["in_vert"][:, 0] |
| 93 | self.add(mesh) |
| 94 | |
| 95 | def update_mesh(mesh, dt): |
| 96 | mesh.model_matrix = np.matmul( |
| 97 | opengl.rotation_matrix(z=dt), |
| 98 | mesh.model_matrix, |
| 99 | ) |
| 100 | |
| 101 | mesh.add_updater(update_mesh) |
| 102 | |
| 103 | self.interactive_embed() |
| 104 | |
| 105 | |
| 106 | class GuiTest2(Scene): |
nothing calls this directly
no test coverage detected