Move camera, platform dummy functions, fix examples
This commit is contained in:
parent
5cec8900be
commit
5d5a0e708f
7 changed files with 116 additions and 56 deletions
|
@ -7,7 +7,11 @@ package raylib
|
|||
#include <stdlib.h>
|
||||
*/
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
import (
|
||||
"os"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// Initialize Window and OpenGL Graphics
|
||||
func InitWindow(width int32, height int32, t interface{}) {
|
||||
|
@ -54,6 +58,21 @@ func DisableCursor() {
|
|||
C.DisableCursor()
|
||||
}
|
||||
|
||||
// Check if a file have been dropped into window
|
||||
func IsFileDropped() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Retrieve dropped files into window
|
||||
func GetDroppedFiles(count *int32) (files []string) {
|
||||
return
|
||||
}
|
||||
|
||||
// Clear dropped files paths buffer
|
||||
func ClearDroppedFiles() {
|
||||
return
|
||||
}
|
||||
|
||||
// Open asset
|
||||
func OpenAsset(name string) (Asset, error) {
|
||||
f, err := os.Open(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue