mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: multiplication
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
723223e7a9
commit
65efdcd686
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ bool gtransform_is_equal(const GTransform * const t1, const GTransform * const t
|
||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
/// Modifying Transforms
|
/// Modifying Transforms
|
||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
// Note that t_new can be set to either of t1 or t2 safely to do in place muliplication
|
// Note that t_new can be set to either of t1 or t2 safely to do in place multiplication
|
||||||
// Note this operation is not commutative. The operation is as follows t_new = t1 * t2
|
// Note this operation is not commutative. The operation is as follows t_new = t1 * t2
|
||||||
void gtransform_concat(GTransform *t_new, const GTransform *t1, const GTransform * t2) {
|
void gtransform_concat(GTransform *t_new, const GTransform *t1, const GTransform * t2) {
|
||||||
if ((!t_new) || (!t1) || (!t2)) {
|
if ((!t_new) || (!t1) || (!t2)) {
|
||||||
|
|
|
@ -444,7 +444,7 @@ void test_math_fixed__S32_16_mul(void) {
|
||||||
Fixed_S32_16 num1, num2;
|
Fixed_S32_16 num1, num2;
|
||||||
Fixed_S32_16 mul, mul_c;
|
Fixed_S32_16 mul, mul_c;
|
||||||
|
|
||||||
// Test number muliplication
|
// Test number multiplication
|
||||||
num1 = FIXED_S32_16_ONE;
|
num1 = FIXED_S32_16_ONE;
|
||||||
num2 = FIXED_S32_16_ONE;
|
num2 = FIXED_S32_16_ONE;
|
||||||
mul = Fixed_S32_16_mul(num1, num2);
|
mul = Fixed_S32_16_mul(num1, num2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue