Flutter Engine
The Flutter Engine
Namespaces | Functions
vector2d_f.cc File Reference
#include "vector2d_f.h"
#include <cmath>
#include "base/string_utils.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Functions

double gfx::CrossProduct (const Vector2dF &lhs, const Vector2dF &rhs)
 
double gfx::DotProduct (const Vector2dF &lhs, const Vector2dF &rhs)
 
Vector2dF gfx::ScaleVector2d (const Vector2dF &v, float x_scale, float y_scale)