Skip to content

Commit

Permalink
fixed a typo in vec2lerp
Browse files Browse the repository at this point in the history
  • Loading branch information
dhontecillas committed Nov 1, 2013
1 parent 78e7ed6 commit 8bd5bcc
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion kazmath/vec2.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ kmScalar kmVec2LengthSq(const kmVec2* pIn)
return kmSQR(pIn->x) + kmSQR(pIn->y);
}

kmVec2* kmVec3Lerp(kmVec2* pOut, const kmVec2* pV1, const kmVec2* pV2, kmScalar t) {
kmVec2* kmVec2Lerp(kmVec2* pOut, const kmVec2* pV1, const kmVec2* pV2, kmScalar t) {
pOut->x = pV1->x + t * ( pV2->x - pV1->x );
pOut->y = pV1->y + t * ( pV2->y - pV1->y );
return pOut;
Expand Down
16 changes: 14 additions & 2 deletions kazmathxx/CMakeLists.txt
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
cmake_minimum_required(VERSION 2.6)
ADD_SUBDIRECTORY(src)
SET(KAZMATHXX_HEADERS
vec2.h
vec3.h
vec4.h
mat4.h
mat3.h
plane.h
quaternion.h
aabb.h
)

INSTALL(FILES ${KAZMATHXX_HEADERS} DESTINATION include/kazmathxx)


File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 0 additions & 14 deletions kazmathxx/src/CMakeLists.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8bd5bcc

Please sign in to comment.