update
This commit is contained in:
parent
e08642bc0b
commit
e4be55d72f
22
.vscode/PythonImportHelper-v2-Completion.json
vendored
22
.vscode/PythonImportHelper-v2-Completion.json
vendored
@ -52,12 +52,11 @@
|
||||
"documentation": {}
|
||||
},
|
||||
{
|
||||
"label": "glpy",
|
||||
"kind": 6,
|
||||
"label": "*",
|
||||
"importPath": "glpy.tests",
|
||||
"description": "glpy.tests",
|
||||
"isExtraImport": true,
|
||||
"importPath": "glpy",
|
||||
"description": "glpy",
|
||||
"detail": "glpy",
|
||||
"detail": "glpy.tests",
|
||||
"documentation": {}
|
||||
},
|
||||
{
|
||||
@ -142,11 +141,20 @@
|
||||
"documentation": {}
|
||||
},
|
||||
{
|
||||
"label": "glfw_window",
|
||||
"label": "glfw_shader",
|
||||
"kind": 2,
|
||||
"importPath": "src.glpy.tests",
|
||||
"description": "src.glpy.tests",
|
||||
"peekOfCode": "def glfw_window(width:int,height:int,title:str)->int:...\ndef glfw_black_window(width:int,height:int,title:str)->int:...",
|
||||
"peekOfCode": "def glfw_shader(width:int,height:int,title:str)->int:...\ndef glfw_basic_triangle(width:int,height:int,title:str)->int:...\ndef glfw_black_window(width:int,height:int,title:str)->int:...",
|
||||
"detail": "src.glpy.tests",
|
||||
"documentation": {}
|
||||
},
|
||||
{
|
||||
"label": "glfw_basic_triangle",
|
||||
"kind": 2,
|
||||
"importPath": "src.glpy.tests",
|
||||
"description": "src.glpy.tests",
|
||||
"peekOfCode": "def glfw_basic_triangle(width:int,height:int,title:str)->int:...\ndef glfw_black_window(width:int,height:int,title:str)->int:...",
|
||||
"detail": "src.glpy.tests",
|
||||
"documentation": {}
|
||||
},
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
def glfw_window(width:int,height:int,title:str)->int:...
|
||||
def glfw_shader(width:int,height:int,title:str)->int:...
|
||||
|
||||
def glfw_basic_triangle(width:int,height:int,title:str)->int:...
|
||||
|
||||
def glfw_black_window(width:int,height:int,title:str)->int:...
|
@ -1,8 +1,8 @@
|
||||
from pydoc import doc
|
||||
import glpy as gl
|
||||
from glpy.tests import *
|
||||
|
||||
print(gl.tests.glfw_black_window(500,500,"Hello world"))
|
||||
# print(gl.tests.glfw_black_window(500,500,"Hello world"))
|
||||
|
||||
print(gl.tests.glfw_window(width=500,height=500,title="I'm Zengtudor"))
|
||||
print(glfw_basic_triangle(width=700,height=500,title="I'm Zengtudor"))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user