Searched refs:vec (Results 1 – 2 of 2) sorted by relevance
66 Vec2(const Vec2& vec) { in Vec2() argument67 x_ = vec.x_; in Vec2()68 y_ = vec.y_; in Vec2()230 Vec3(const Vec3& vec) { in Vec3() argument231 x_ = vec.x_; in Vec3()232 y_ = vec.y_; in Vec3()233 z_ = vec.z_; in Vec3()242 Vec3(const Vec2& vec, float f) { in Vec3() argument243 x_ = vec.x_; in Vec3()244 y_ = vec.y_; in Vec3()[all …]
31 Vec3::Vec3(const Vec4& vec) { in Vec3() argument32 x_ = vec.x_; in Vec3()33 y_ = vec.y_; in Vec3()34 z_ = vec.z_; in Vec3()298 Mat4 Mat4::Translation(const Vec3 vec) { in Translation() argument303 ret.f_[12] = vec.x_; in Translation()307 ret.f_[13] = vec.y_; in Translation()311 ret.f_[14] = vec.z_; in Translation()