Exemple #1
0
 public Camera(float fov, float clipNear, float clipFar)
 {
     _cameraInst = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(camera_t)));
     NativeAPI.camera_initialize(_cameraInst, fov, clipNear, clipFar);
 }