Sha256: dee567f3b30b1f8e6252ac11d192e36cb42ba58e7955b7e887e2de7e8fe4cbff

Contents?: true

Size: 1.41 KB

Versions: 7

Compression:

Stored size: 1.41 KB

Contents

/*
 NEON math library for the iPhone / iPod touch

 Copyright (c) 2009 Justin Saunders

 This software is provided 'as-is', without any express or implied warranty.
 In no event will the authors be held liable for any damages arising
 from the use of this software.
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it freely,
 subject to the following restrictions:

 1. The origin of this software must not be misrepresented; you must
 not claim that you wrote the original software. If you use this
 software in a product, an acknowledgment in the product documentation
 would be appreciated but is not required.

 2. Altered source versions must be plainly marked as such, and must
 not be misrepresented as being the original software.

 3. This notice may not be removed or altered from any source distribution.
*/

#ifndef __NEON_MATRIX_IMPL_H__
#define __NEON_MATRIX_IMPL_H__

#ifdef __arm__
#include "arm/arch.h"
#endif

// Matrixes are assumed to be stored in column major format according to OpenGL
// specification.

// Multiplies two 4x4 matrices (a,b) outputing a 4x4 matrix (output)
void NEON_Matrix4Mul(const float* a, const float* b, float* output );

// Multiplies a 4x4 matrix (m) with a vector 4 (v), outputing a vector 4
void NEON_Matrix4Vector4Mul(const float* m, const float* v, float* output);


#endif // __NEON_MATRIX_IMPL_H__

Version data entries

7 entries across 5 versions & 1 rubygems

Version Path
joybox-1.1.1 vendor/vendor-ios/kazmath/kazmath_include/neon_matrix_impl.h
joybox-1.1.1 vendor/vendor-osx/kazmath/kazmath_include/neon_matrix_impl.h
joybox-1.1.0 vendor/vendor-ios/kazmath/kazmath_include/neon_matrix_impl.h
joybox-1.1.0 vendor/vendor-osx/kazmath/kazmath_include/neon_matrix_impl.h
joybox-0.0.5 vendor/Cocos2D/include/kazmath/neon_matrix_impl.h
joybox-0.0.4 vendor/Cocos2D/include/kazmath/neon_matrix_impl.h
joybox-0.0.3 vendor/Cocos2D/include/kazmath/neon_matrix_impl.h