File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,14 @@ extension Vector2 {
173173
174174extension Vector2 {
175175 @inlinable
176- public func interpolated< V : Vector2 > ( to: V , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) -> Self {
176+ public func interpolated( to: Self , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) -> Self {
177177 var copy = self
178178 copy. x. interpolate ( to: to. x, method, options: options)
179179 copy. y. interpolate ( to: to. y, method, options: options)
180180 return copy
181181 }
182182 @inlinable
183- public mutating func interpolate< V : Vector2 > ( to: V , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) {
183+ public mutating func interpolate( to: Self , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) {
184184 self . x. interpolate ( to: to. x, method, options: options)
185185 self . y. interpolate ( to: to. y, method, options: options)
186186 }
Original file line number Diff line number Diff line change @@ -285,15 +285,15 @@ extension Vector3 {
285285
286286extension Vector3 {
287287 @inlinable
288- public func interpolated< V : Vector3 > ( to: V , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) -> Self {
288+ public func interpolated( to: Self , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) -> Self {
289289 var copy = self
290290 copy. x. interpolate ( to: to. x, method, options: options)
291291 copy. y. interpolate ( to: to. y, method, options: options)
292292 copy. z. interpolate ( to: to. z, method, options: options)
293293 return copy
294294 }
295295 @inlinable
296- public mutating func interpolate< V : Vector3 > ( to: V , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) {
296+ public mutating func interpolate( to: Self , _ method: InterpolationMethod , options: InterpolationOptions = . shortest) {
297297 self . x. interpolate ( to: to. x, method, options: options)
298298 self . y. interpolate ( to: to. y, method, options: options)
299299 self . z. interpolate ( to: to. z, method, options: options)
You can’t perform that action at this time.
0 commit comments