1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gg: remove obsolete usages of use_ortho: true

This commit is contained in:
Delyan Angelov
2021-06-24 11:07:09 +03:00
parent cc91d9bee3
commit f18265e6a8
19 changed files with 17 additions and 36 deletions

View File

@ -418,7 +418,6 @@ fn main() {
app.gg = gg.new_context(
width: win_width
height: win_height
use_ortho: true // This is needed for 2D drawing
create_window: true
window_title: '3D Cube Demo'
user_data: app

View File

@ -612,7 +612,6 @@ fn main() {
app.gg = gg.new_context(
width: win_width
height: win_height
use_ortho: true // This is needed for 2D drawing
create_window: true
window_title: '3D Cube Demo'
user_data: app

View File

@ -423,7 +423,6 @@ fn main() {
app.gg = gg.new_context(
width: win_width
height: win_height
use_ortho: true // This is needed for 2D drawing
create_window: true
window_title: '3D Ray Marching Cube'
user_data: app

View File

@ -619,7 +619,6 @@ fn main() {
app.gg = gg.new_context(
width: win_width
height: win_height
use_ortho: true // This is needed for 2D drawing
create_window: true
window_title: '3D Dual shader Cube - click and rotate with the mouse'
user_data: app

View File

@ -506,7 +506,6 @@ fn main(){
app.gg = gg.new_context({
width: win_width
height: win_height
use_ortho: true // This is needed for 2D drawing
create_window: true
window_title: 'Instancing Cube'
user_data: app

View File

@ -323,7 +323,6 @@ fn main() {
app.gg = gg.new_context(
width: win_width
height: win_height
use_ortho: true // This is needed for 2D drawing
create_window: true
window_title: 'V Wavefront OBJ viewer - Use the mouse wheel to zoom'
user_data: app
@ -336,4 +335,4 @@ fn main() {
app.ticks = time.ticks()
app.gg.run()
}
}

View File

@ -44,7 +44,6 @@ fn main() {
bg_color: gx.rgb(50, 50, 50)
width: 1024
height: 400
use_ortho: true
create_window: true
window_title: 'ByteBeat Music'
frame_fn: graphics_frame