Port the remaining Base block A pieces: global/context init, the command-line option table, UTF-8/16 conversion (sgetu8/sputu8), the coordinate/aspect helpers and the context qsort. All functions verified against the binary. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
15 lines
473 B
C
15 lines
473 B
C
#ifndef ENGINE_SOURCE_BASE_COORDINATE_H
|
|
#define ENGINE_SOURCE_BASE_COORDINATE_H
|
|
|
|
float CoordinateGetAspectCompensation();
|
|
float CoordinateGetAspectRatio();
|
|
void CoordinateSetAspectRatio(float aspect);
|
|
void DDCToNDC(float ddcx, float ddcy, float* ndcx, float* ndcy);
|
|
float DDCToNDCHeight(float ddcy);
|
|
float DDCToNDCWidth(float ddcx);
|
|
void NDCToDDC(float ndcx, float ndcy, float* ddcx, float* ddcy);
|
|
float NDCToDDCHeight(float ndcy);
|
|
float NDCToDDCWidth(float ndcx);
|
|
|
|
#endif
|