mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 20:05:40 +00:00
some fakerw additions for shadows; update librw
This commit is contained in:
parent
fb4de46626
commit
c649028b01
2 changed files with 5 additions and 5 deletions
2
librw
2
librw
|
@ -1 +1 @@
|
|||
Subproject commit 49ca300b88c8c298e5811b41e753589ad2a4c367
|
||||
Subproject commit 99c15d5ed78cc112e1055cc89452dd57df28da58
|
|
@ -35,9 +35,9 @@ RwReal RwV3dLength(const RwV3d * in) { return length(*in); }
|
|||
//void RwV3dAssign(RwV3d * out, const RwV3d * ina);
|
||||
void RwV3dAdd(RwV3d * out, const RwV3d * ina, const RwV3d * inb) { *out = add(*ina, *inb); }
|
||||
void RwV3dSub(RwV3d * out, const RwV3d * ina, const RwV3d * inb) { *out = sub(*ina, *inb); }
|
||||
//void RwV3dScale(RwV3d * out, const RwV3d * in, RwReal scalar);
|
||||
//void RwV3dIncrementScaled(RwV3d * out, const RwV3d * in, RwReal scalar);
|
||||
//void RwV3dNegate(RwV3d * out, const RwV3d * in);
|
||||
void RwV3dScale(RwV3d * out, const RwV3d * in, RwReal scalar) { *out = scale(*in, scalar); }
|
||||
void RwV3dIncrementScaled(RwV3d * out, const RwV3d * in, RwReal scalar) { *out = add(*out, scale(*in, scalar)); }
|
||||
void RwV3dNegate(RwV3d * out, const RwV3d * in) { *out = neg(*in); }
|
||||
RwReal RwV3dDotProduct(const RwV3d * ina, const RwV3d * inb) { return dot(*ina, *inb); }
|
||||
//void RwV3dCrossProduct(RwV3d * out, const RwV3d * ina, const RwV3d * inb);
|
||||
RwV3d *RwV3dTransformPoints(RwV3d * pointsOut, const RwV3d * pointsIn, RwInt32 numPoints, const RwMatrix * matrix)
|
||||
|
@ -137,7 +137,7 @@ RwCamera *RwCameraCreate(void) { return rw::Camera::create(); }
|
|||
RwCamera *RwCameraClone(RwCamera * camera) { return camera->clone(); }
|
||||
RwCamera *RwCameraSetViewOffset(RwCamera *camera, const RwV2d *offset) { camera->setViewOffset(offset); return camera; }
|
||||
RwCamera *RwCameraSetViewWindow(RwCamera *camera, const RwV2d *viewWindow) { camera->setViewWindow(viewWindow); return camera; }
|
||||
RwCamera *RwCameraSetProjection(RwCamera *camera, RwCameraProjection projection);
|
||||
RwCamera *RwCameraSetProjection(RwCamera *camera, RwCameraProjection projection) { camera->projection = projection; return camera; }
|
||||
RwCamera *RwCameraSetNearClipPlane(RwCamera *camera, RwReal nearClip) { camera->setNearPlane(nearClip); return camera; }
|
||||
RwCamera *RwCameraSetFarClipPlane(RwCamera *camera, RwReal farClip) { camera->setFarPlane(farClip); return camera; }
|
||||
RwInt32 RwCameraRegisterPlugin(RwInt32 size, RwUInt32 pluginID, RwPluginObjectConstructor constructCB, RwPluginObjectDestructor destructCB, RwPluginObjectCopy copyCB);
|
||||
|
|
Loading…
Reference in a new issue