--- layout: stdlib-reference --- # dst ## Description Helper for computing distance terms for lighting (obsolete). Use the subtraction operator '-' instead. ## Signature
vector<T, 4> dst<T>(
vector<T, 4> x,
vector<T, 4> y)
where T : __BuiltinFloatingPointType;
## Generic Parameters
#### T: [\_\_BuiltinFloatingPointType](../interfaces/0_builtinfloatingpointtype-029hm/index.html)
## Parameters
#### x : [vector](../types/vector/index.html)\<[T](../types/vector/index.html#typeparam-T), 4\>
#### y : [vector](../types/vector/index.html)\<[T](../types/vector/index.html#typeparam-T), 4\>