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:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user