Skip to content

Latest commit

 

History

History
73 lines (66 loc) · 12.3 KB

rcamera.md

File metadata and controls

73 lines (66 loc) · 12.3 KB

rcamera.h: complete API/support checklist

Progress dashboard

Generated from the pinned source; proposed Bend names are planning targets, not existing functions. Each row inherits its milestone verification recipe and the six completion gates in the machine-readable ledger.

Stable ID / source Kind Reference contract Bend mapping Status Step
rcamera:macro:RCAMERA_H macro #define RCAMERA_H import ./jonlib.bend (implemented) partial configuration
rcamera:switch:BUILD_LIBTYPE_SHARED switch #if defined(BUILD_LIBTYPE_SHARED) top-level def (implemented) partial configuration
rcamera:macro:__declspec macro #define __declspec(x) __attribute__((x)) top-level def (implemented) partial configuration
rcamera:macro:RLAPI macro #define RLAPI __declspec(dllexport) top-level def (implemented) partial configuration
rcamera:switch:USE_LIBTYPE_SHARED switch #elif defined(USE_LIBTYPE_SHARED) top-level def (implemented) partial configuration
rcamera:switch:RCAMERA_STANDALONE switch #if defined(RCAMERA_STANDALONE) import ./jonlib.bend (implemented) partial configuration
rcamera:macro:CAMERA_CULL_DISTANCE_NEAR macro #define CAMERA_CULL_DISTANCE_NEAR 0.05 Config.CAMERA_CULL_DISTANCE_NEAR (implemented) partial configuration
rcamera:macro:CAMERA_CULL_DISTANCE_FAR macro #define CAMERA_CULL_DISTANCE_FAR 4000.0 Config.CAMERA_CULL_DISTANCE_FAR (implemented) partial configuration
rcamera:type:Vector2 type Vector2 — float x; float y jonmath.Vector2 (implemented) partial types
rcamera:type:Vector3 type Vector3 — float x; float y; float z jonmath.Vector3 (implemented) partial types
rcamera:type:Matrix type Matrix — float m0, m4, m8, m12; float m1, m5, m9, m13; float m2, m6, m10, m14; float m3, m7, m11, m15 jonmath.Matrix (implemented) partial types
rcamera:type:Camera3D type Camera3D — Vector3 position; Vector3 target; Vector3 up; float fovy; int projection Camera3D (implemented) partial types
rcamera:alias:Camera alias typedef Camera3D Camera; Camera3D (implemented) partial types
rcamera:enum:CameraProjection enum CameraProjection — CAMERA_PERSPECTIVE = 0; CAMERA_ORTHOGRAPHIC U32 constants CameraProjection.* (implemented) partial types
rcamera:enumerator:CAMERA_PERSPECTIVE enumerator CAMERA_PERSPECTIVE = 0 CameraProjection.CAMERA_PERSPECTIVE (implemented) partial types
rcamera:enumerator:CAMERA_ORTHOGRAPHIC enumerator CAMERA_ORTHOGRAPHIC CameraProjection.CAMERA_ORTHOGRAPHIC (implemented) partial types
rcamera:enum:CameraMode enum CameraMode — CAMERA_CUSTOM = 0; CAMERA_FREE; CAMERA_ORBITAL; CAMERA_FIRST_PERSON; CAMERA_THIRD_PERSON U32 constants CameraMode.* (implemented) partial types
rcamera:enumerator:CAMERA_CUSTOM enumerator CAMERA_CUSTOM = 0 CameraMode.CAMERA_CUSTOM (implemented) partial types
rcamera:enumerator:CAMERA_FREE enumerator CAMERA_FREE CameraMode.CAMERA_FREE (implemented) partial types
rcamera:enumerator:CAMERA_ORBITAL enumerator CAMERA_ORBITAL CameraMode.CAMERA_ORBITAL (implemented) partial types
rcamera:enumerator:CAMERA_FIRST_PERSON enumerator CAMERA_FIRST_PERSON CameraMode.CAMERA_FIRST_PERSON (implemented) partial types
rcamera:enumerator:CAMERA_THIRD_PERSON enumerator CAMERA_THIRD_PERSON CameraMode.CAMERA_THIRD_PERSON (implemented) partial types
rcamera:function:GetCameraForward function RLAPI Vector3 GetCameraForward(Camera *camera) Camera.forward_for / Camera.forward (implemented) partial camera
rcamera:function:GetCameraUp function RLAPI Vector3 GetCameraUp(Camera *camera) Camera.up_for / Camera.up (implemented) partial camera
rcamera:function:GetCameraRight function RLAPI Vector3 GetCameraRight(Camera *camera) Camera.right_for / Camera.right (implemented) partial camera
rcamera:function:CameraMoveForward function RLAPI void CameraMoveForward(Camera *camera, float distance, bool moveInWorldPlane) Camera.move_forward_for / Camera.move_forward (implemented) partial camera
rcamera:function:CameraMoveUp function RLAPI void CameraMoveUp(Camera *camera, float distance) Camera.move_up_for / Camera.move_up (implemented) partial camera
rcamera:function:CameraMoveRight function RLAPI void CameraMoveRight(Camera *camera, float distance, bool moveInWorldPlane) Camera.move_right_for / Camera.move_right (implemented) partial camera
rcamera:function:CameraMoveToTarget function RLAPI void CameraMoveToTarget(Camera *camera, float delta) Camera.move_to_target_for / Camera.move_to_target (implemented) partial camera
rcamera:function:CameraYaw function RLAPI void CameraYaw(Camera *camera, float angle, bool rotateAroundTarget) Camera.yaw_for / Camera.yaw (implemented) partial camera
rcamera:function:CameraPitch function RLAPI void CameraPitch(Camera *camera, float angle, bool lockView, bool rotateAroundTarget, bool rotateUp) Camera.pitch_for / Camera.pitch (implemented) partial camera
rcamera:function:CameraRoll function RLAPI void CameraRoll(Camera *camera, float angle) Camera.roll_for / Camera.roll (implemented) partial camera
rcamera:function:GetCameraViewMatrix function RLAPI Matrix GetCameraViewMatrix(Camera *camera) Camera.view_matrix_for / Camera.view_matrix (implemented) partial camera
rcamera:function:GetCameraProjectionMatrix function RLAPI Matrix GetCameraProjectionMatrix(Camera *camera, float aspect) Camera.projection_matrix_for / Camera.projection_matrix (implemented) partial camera
rcamera:switch:RCAMERA_IMPLEMENTATION switch #if defined(RCAMERA_IMPLEMENTATION) import ./jonlib.bend (implemented) partial configuration

Language adaptations

C-to-Bend mappings with no behavior difference reachable through the API (policy). They are not gaps and do not complete an item.

  • rcamera:macro:RCAMERA_H: An include guard has no Bend counterpart (language adaptation)
  • rcamera:switch:BUILD_LIBTYPE_SHARED: Shared-library linkage has no Bend counterpart (language adaptation)
  • rcamera:macro:__declspec: Shared-library linkage has no Bend counterpart (language adaptation)
  • rcamera:macro:RLAPI: Shared-library linkage has no Bend counterpart (language adaptation)
  • rcamera:switch:USE_LIBTYPE_SHARED: Shared-library linkage has no Bend counterpart (language adaptation)
  • rcamera:switch:RCAMERA_STANDALONE: A standalone build with private type copies is not separate (language adaptation)
  • rcamera:macro:CAMERA_CULL_DISTANCE_NEAR: C preprocessor macros have no Bend counterpart (a zero-argument function)
  • rcamera:macro:CAMERA_CULL_DISTANCE_FAR: C preprocessor macros have no Bend counterpart (a zero-argument function)
  • rcamera:type:Vector3: Preprocessor type guards have no Bend counterpart
  • rcamera:type:Matrix: Preprocessor type guards have no Bend counterpart
  • rcamera:type:Camera3D: Preprocessor type guards have no Bend counterpart
  • rcamera:alias:Camera: No type alias declarations: the aliased type is used directly (language adaptation)
  • rcamera:enum:CameraProjection: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enumerator:CAMERA_PERSPECTIVE: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enumerator:CAMERA_ORTHOGRAPHIC: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enum:CameraMode: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enumerator:CAMERA_CUSTOM: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enumerator:CAMERA_FREE: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enumerator:CAMERA_ORBITAL: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enumerator:CAMERA_FIRST_PERSON: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:enumerator:CAMERA_THIRD_PERSON: C enum types and implicit int conversions have no Bend counterpart (U32 constants)
  • rcamera:switch:RCAMERA_IMPLEMENTATION: A single-header implementation switch has no Bend counterpart (language adaptation)

Full conditional variants, source lines, type/API dependencies, evidence and next actions are retained in api/ledger.json.