I believe Nim assumes that identifiers starting with a capital letter are types.

Use this:
    
    
    type Camera* = ref object
      position*,front*,up*,right*,worldUp*:Vec3f
      yaw*,pitch*,movementSpeed*,mouseSensitivity*,zoom*:float32
    

Reply via email to