We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117d63d commit a069bb9Copy full SHA for a069bb9
examples/013-multi-cube.rs
@@ -262,7 +262,7 @@ fn main() {
262
glGetUniformLocation(shader_program.0, name)
263
};
264
265
- let view = Mat4::from_translation(Vec3::new(0.0, 0.0, -2.0));
+ let view = Mat4::from_translation(Vec3::new(0.0, 0.0, -3.0));
266
unsafe { glUniformMatrix4fv(view_loc, 1, GL_FALSE, view.as_ptr()) };
267
268
let projection = ultraviolet::projection::rh_yup::perspective_gl(
@@ -286,7 +286,7 @@ fn main() {
286
// now the events are clear.
287
288
// update the "world state".
289
- let time = sdl.get_ticks() as f32 / 1000.0_f32;
+ let time = sdl.get_ticks() as f32 / 10000.0_f32;
290
291
// and then draw!
292
unsafe {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments