Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline operator float* () {
- return (float*)this;
- }
- inline operator const float* () const {
- return (const float*)this;
- }
- // Cast operator, for []
- inline operator vec4* () {
- return (vec4*)this;
- }
- // Const cast operator, for const []
- inline operator const vec4* () const {
- return (const vec4*)this;
- }
Add Comment
Please, Sign In to add comment