Rename camera Type->Projection
This commit is contained in:
parent
b9e2059e57
commit
400097df9d
7 changed files with 10 additions and 10 deletions
|
@ -15,7 +15,7 @@ func main() {
|
|||
camera.Target = rl.NewVector3(0.0, 10.0, 0.0)
|
||||
camera.Up = rl.NewVector3(0.0, 1.0, 0.0)
|
||||
camera.Fovy = 45.0
|
||||
camera.Type = rl.CameraPerspective
|
||||
camera.Projection = rl.CameraPerspective
|
||||
|
||||
obj := rl.LoadModel("castle.obj") // Load OBJ model
|
||||
texture := rl.LoadTexture("castle_diffuse.png") // Load model texture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue